/* 
 * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
 * See LICENSE in the project root for license information.
 */

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.TrackEmailStyles,
.Emailheading,
.Emailcheckbox,
.EmailTypeText {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
label,
div {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

ul {
  margin: 0;
  padding: 0;
}

.ms-welcome__header {
  padding: 20px;
  padding-bottom: 30px;
  padding-top: 100px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  align-items: center;
}

.ms-welcome__main {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex: 1 0 0;
  flex: 1 0 0;
  padding: 10px 20px;
}

.ms-welcome__main > h2 {
  width: 100%;
  text-align: center;
}

.ms-welcome__features {
  list-style-type: none;
  margin-top: 20px;
}

.ms-welcome__features.ms-List .ms-ListItem {
  padding-bottom: 20px;
  display: -webkit-flex;
  display: flex;
}

.ms-welcome__features.ms-List .ms-ListItem > .ms-Icon {
  margin-right: 10px;
}

.ms-welcome__action.ms-Button--hero {
  margin-top: 30px;
}

.ms-Button.ms-Button--hero .ms-Button-label {
  color: #0078d7;
}

.ms-Button.ms-Button--hero:hover .ms-Button-label,
.ms-Button.ms-Button--hero:focus .ms-Button-label {
  color: #005a9e;
  cursor: pointer;
}

b {
  font-weight: bold;
}

.Emailheading {
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}

.Emailcheckbox {
  padding: 4px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.toggle-checkboxdata {
  -webkit-transform: scale(1.3); /* For Safari */
  cursor: pointer;
}
.centerSection {
  min-height: fit-content;
  padding-bottom: 30px;
}



.TrackEmailStyles {
  display: flex;
  font-size: 20px;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-bottom: 0px;
  font-weight: 600;
  padding: 15px 20px;
  border-top: 1px solid #ddd;
  align-items: center;
  gap: 30px;
}
.EmailTypeText {
  font-size: 14px;
  color: #787777;
}
.toggle-container {
  display: flex;
  align-items: center;
}

/* Hide the default checkbox */
.toggle-checkbox {
  display: none;
}

/* Style the slider */
.toggle-slider {
  position: relative;
  width: 46px;
  height: 25px;
  background-color: #ccc;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.4s;
  /* margin-top: 8px; */
}

/* Style the slider when the checkbox is checked */
.toggle-checkbox:checked + .toggle-slider {
  background-color: #0f6cbd;
}

/* Style the ball inside the slider */
.toggle-slider::before {
  content: "";
  position: absolute;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background-color: white;
  transition: 0.4s;
  left: 3px;
  top: 4.5px;
}

/* Move the ball when the checkbox is checked */
.toggle-checkbox:checked + .toggle-slider::before {
  transform: translateX(25px);
}
.footerSection {
  position: fixed;
  bottom: 0;
  background: #f5f5f5;
  width: calc(100%);
  border-top: 1px solid #ddd;
}

.support-section {
  padding: 5px 15px;
  /* margin-top: 30px; */
  display: flex;
  justify-content: space-between;
  color: #666;
  text-align: center;
  font-size: 12px;
}

.support-section a {
  color: #0078d4; /* Fluent UI link color */
  text-decoration: none;
}

.support-section a:hover {
  text-decoration: underline;
}

.help-section {
  padding: 0px 15px;
  display: flex;
  border-top: 1px solid #ddd;
  justify-content: space-between;
  background: #f5f5f5;
  padding-top: 0px;
  color: #666;
}
/* Main Container Styles */
.mainClass {
  padding: 20px 15px 0px 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 3px solid #ddd;
}
.boxSection {
  padding-bottom: 35px;
}
/* Subject and Sent Date Styles */
.SubjectStyles {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 5px;
}

.SentDate {
  font-size: 13px;
}

.sentto {
  font-size: 13px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.OpensCounts {
  padding-top: 10px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.Activity {
  /* padding-top: 15px; */
  font-size: 18px;
  font-weight: 600;
}

/* Email Open Details */
.AllOpensEmails {
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* padding-top: 15px; */
}

.OpenDetails {
  display: flex;
  align-items: center;
  gap: 10px;
}

.emailsGrid {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.OpenedEmail {
  font-size: 14px;
  font-weight: 600;
}

.OpenEmailTime {
  font-size: 12px;
  color: #727171;
}

.WhoOpenEmail {
  white-space: nowrap;
  font-size: 12px;
  color: #727171;
}

/* Icon in OpenDetails */
.OpenDetails i {
  font-size: 14px;
  padding: 7px;
  background-color: #5442b029;
  border-radius: 50%;
  color: #5442b0;
}
.doubleTickIcon {
  display: flex;
  align-items: center;
}
.doubleTickIcon img {
  width: 15px;
}

/* Date Button Styling */
.btn {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ddd;
  border: none;
  color: #727171;
  padding: 6px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  margin: 0px 2px;
  cursor: pointer;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

/* Hover effect for date button */
.Loginbtn:hover {
  background-color: #c1c1c1;
}

h1 {
  margin-bottom: 1.5rem;
  color: #333;
}
.login-container {
  text-align: center;
  height: calc(100vh - 70px);
  background: #0078d4;
  padding: 2rem 1.5rem;
  align-content: center;
  min-height: 170px;
  /* border-radius: 8px; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  align-items: center;
  place-content: center;
}

.logo {
  width: 25px;
  margin-bottom: 0;
}

.Loginbtn {
  background: #fff;
  color: #444444;
  font-weight: 600;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.Loginbtn:hover {
  background: #f5f1f1;
}

.logout-btn {
  background: #d83b01;
}

.logout-btn:hover {
  background: #a32e00;
}

.status-message {
  margin-top: 1.5rem;
  font-size: 16px;
  color: #333;
}
.loginCard {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  cursor: pointer;
}
.wrapper a {
  font-size: 14px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #666;
  text-decoration: none;
}
.wrapper img {
  width: 14px;
  color: #666;
  /* margin-top: 2px; */
}

.wrapper button {
  color: var(--gray-dark-1, #666);
  background-color: unset;
  padding: 10px;
  font-weight: 400;
  border: none;
  display: flex;
  color: #666;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  cursor: pointer;
}
.wrapper button:hover {
  background-color: rgba(0, 0, 0, 0.08);
}
.textDiv {
  font-size: 14px;
  color: #e8e8e8;
  font-weight: 600;
}
#afterLogin,
.ms-welcome {
  background-color: #f5f5f5;
}
.HeadingLabel {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
#siteUrlDialog {
  width: 80%;
  border: none;
}
.dialogHeading {
  font-size: 16px;
  color: #333;
  text-align: center;
  font-weight: 600;
  margin: 0;
  margin-bottom: 30px;
}
.dialogLabelField {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dialogButtons {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 10px;
}
.priButton {
  margin: 0px;
  overflow: hidden;
  background: #1e87dd;
  padding: 8px 16px;
  border: none;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}
.defaultButton {
  margin: 0px;
  overflow: hidden;
  background: #fff;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  color: #333;
  border: 1px solid #ddd;
  font-size: 14px;
  border-radius: 4px;
}
.dialogLabelField input {
  height: 32px;
  border: 1px solid #d3d1ce;
  border-radius: 2px;
  padding: 0px 5px;
}
.dialogLabelField input:focus-visible {
  border: 1px solid #d3d1ce;
  outline: none;
}
.dialogLabelField label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.required::after {
  content: " *";
  color: #f53b3b;
}
.successMessage {
  font-size: 14px;
  font-weight: 400;
  color: green;
  margin-top: 10px;
}
.errorMessage {
  font-size: 14px;
  font-weight: 400;
  color: #f53b3b;
  margin-top: 10px;
}
#untackedEmails {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* //modal */
.email-editor {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.toolbar button {
  padding: 8px 12px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.toolbar button:hover {
  background-color: #0056b3;
}
.editor {
  border: 1px solid #ddd;
  border-radius: 4px;
  min-height: 200px;
  padding: 10px;
  font-size: 16px;
  background: #fff;
}
.editor:focus {
  outline: none;
  border-color: #007bff;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: calc(100% - 60px);
  z-index: 1000;
  display: none;
}
.modal.active {
  display: block;
  background-color: #f5f5f5;
}
.modal input {
  width: calc(100% - 20px);
  padding: 8px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 1px solid #ddd;
  border-radius: 2px;
}
.modal input:focus-visible {
  outline: none;
}
.modal .actions {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .actions button {
  padding: 8px 12px;
  margin-left: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.modal .actions .insert-btn {
  background-color: #007bff;
  color: white;
}
.insert-btn:hover {
  background-color: #0056b3;
}
.modal .actions .cancel-btn {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
}
.InputContainers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0px;
}
.modal h3 {
  color: #333;
  margin: 0;
  display: flex;
  justify-content: center;
  font-size: 16px;
}
.AttchmentContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
}
.AttchmentContainer label {
  font-weight: 600;
}
.AttchmentContainer button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.SiteLinkStyles{
  text-decoration: none;
  color: #0078d7;
}


.ErrorStyles {
  display: flex;
  font-size: 14px;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
  padding: 15px 20px;
  align-items: center;
  gap: 3px;
  color: #333;
}

.RefreshbuttonStyles {
  margin-top: 10px;
  color: white;
  border-radius: 4px;
  border: none;
  background: #007bff;
  padding: 10px 20px;
  cursor: pointer;
}


.loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.EmailcheckboxTaskpane {
  padding: 4px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.SiteLinkStyles{
  text-decoration: none;
}


.TrackEmailStylesContainer {
  border-bottom: 2px solid #ddd;
  border-top: 1px solid #ddd;
}
.WebpportalStyles {
  padding: 0px 20px;
  border-top: 1px solid #efe9e9;
}
.WebpportalStylesCM{
  border-bottom: 1px solid #efe9e9;
}

#webPortal{
  background-color: unset;
  padding: 10px 0;
  font-weight: 400;
  border: none;
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: #666;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}
#webPortal a{
  cursor: pointer;
}

.countActivityCL{
  display: flex;
  align-items: center;
  gap: 5px;
}
.loginMessage{
  position: absolute;
  bottom: 50px;
}
.loginMessage, .loginMessage a{
  font-size: 12px;
  color: #fff;
  margin-top: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
}

.Loginbtn {
  background: #fff;
  color: #444444;
  font-weight: 600;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.Loginbtn:hover {
  background: #f5f1f1;
}