@charset "UTF-8";
h1 {
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.1px;
  color: var(--fg);
}

h2 {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  color: var(--fg);
}

h3 {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.144px;
  color: var(--fg);
}

h4 {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.1px;
  color: var(--fg);
}

h6 {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.1px;
  font-size: 12px;
  color: #8d92a3;
}

p {
  font-size: 0.85rem;
  font-weight: 300;
}

/**
  * Typography
  */
:root {
  --safe-area-inset-top: 0px;
  --safe-area-inset-right: 0px;
  --safe-area-inset-bottom: 0px;
  --safe-area-inset-left: 0px;
}
@supports (top: constant(safe-area-inset-top)) {
  :root {
    --safe-area-inset-top: constant(safe-area-inset-top);
    --safe-area-inset-right: constant(safe-area-inset-right);
    --safe-area-inset-bottom: constant(safe-area-inset-bottom);
    --safe-area-inset-left: constant(safe-area-inset-left);
  }
}
@supports (top: env(safe-area-inset-top)) {
  :root {
    --safe-area-inset-top: env(safe-area-inset-top);
    --safe-area-inset-right: env(safe-area-inset-right);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    --safe-area-inset-left: env(safe-area-inset-left);
  }
}

/**
 * Stack 
 */
button {
  border-radius: 6px;
  font-family: var(--button-font);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
button .icon {
  font-size: 20px;
  margin-right: 7px;
}

button.primary {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-fg);
  cursor: pointer;
}

/*
button.disabled {
  background-color: #FAFAFA !important;
  border-color: #e2e2ea !important;
  color: black !important;
}
*/
.card-button {
  background-color: var(--button-secondary-bg);
  color: var(--button-secondary-fg);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  border: 1px solid #e2e8f0;
  width: 100%;
  cursor: pointer;
}

:root {
  --bg: #fff;
  --fg: #171725;
  --muted-fg: #71717a;
  --border-color: #ddd;
  --color-primary: #18181b;
  --color-secondary: #fa7268;
  --link-fg: #1e75ff;
  --form-element-bg: white;
  --form-element-fg: #64748B;
  --form-element-border: #ddd;
  --form-element-error: #fc5a5a;
  --button-primary-bg: #0F172A;
  --button-primary-fg: #FFFFFF;
  --button-secondary-bg: white;
  --button-secondary-fg: black;
  --button-success-bg: #36b37e;
  --button-success-fg: white;
  --button-danger-bg: red;
  --button-danger-fg: white;
  --message-success-text: #006644;
  --message-success-bg: #e3fcef;
  --message-success-fg: #36b37e;
  --message-error-text: #bf2600;
  --message-error-bg: #ffebe6;
  --message-error-fg: #ff5630;
  --message-info-text: #505f79;
  --message-info-bg: white;
  --message-info-fg: #2684ff;
  --message-warning-text: #ff8b00;
  --message-warning-bg: #fffae6;
  --message-warning-fg: #ffab00;
  --message-loading-text: #505f79;
  --message-loading-bg: white;
  --message-loading-fg: #ffab00;
}

[data-theme=dark] {
  --color-bg: #000000;
}

/* geist-sans-latin-100-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-100-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-100-normal.woff) format("woff");
}
/* geist-sans-latin-200-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-200-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-200-normal.woff) format("woff");
}
/* geist-sans-latin-300-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-300-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-300-normal.woff) format("woff");
}
/* geist-sans-latin-400-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-400-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-400-normal.woff) format("woff");
}
/* geist-sans-latin-500-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-500-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-500-normal.woff) format("woff");
}
/* geist-sans-latin-600-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-600-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-600-normal.woff) format("woff");
}
/* geist-sans-latin-700-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-700-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-700-normal.woff) format("woff");
}
/* geist-sans-latin-800-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-800-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-800-normal.woff) format("woff");
}
/* geist-sans-latin-900-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-900-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-900-normal.woff) format("woff");
}
:root {
  --elphe-orange: #fc7e08;
  --elphe-green: #107514;
  --font-geist-sans: "Geist Sans";
  --font: var(--font-geist-sans);
  --button-font: var(--font-geist-sans);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  overscroll-behavior-y: none;
  font-size: 0.85rem;
  font-weight: 300;
  margin: 0px;
  max-height: 100vh;
}

* {
  box-sizing: border-box;
}

/*Temporary css declaration to hide emulator warning until internal bug is fixed and disableWarnings flag can be passed in without typescript warnings*/
.firebase-emulator-warning {
  display: none;
}

.auth-widget {
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-widget,
.signup-widget,
.email-verify-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--card-padding, 24px);
  max-width: 400px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.form-items {
  align-self: stretch;
  gap: 16px;
}

.form-actions {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
.form-actions .login-message,
.form-actions .signup-message,
.form-actions .resend-email-message {
  align-self: center;
}
.form-actions .divider {
  display: flex;
}
.form-actions .divider .rectangle {
  height: 10px;
  width: 165px;
  border-bottom: 1px solid #e6e6e6;
}
.form-actions .divider .or {
  padding: 2px;
}

a {
  color: black;
}

.login-widget a {
  margin-block: -4px;
}

.email-verify-widget .primary {
  background-color: var(--button-primary-bg);
  color: var(--button-primary-fg);
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  width: 100%;
}
.email-verify-widget .sub-heading .mail {
  font-weight: 700;
}

.signup-widget .submit-button {
  margin-top: -8px;
  cursor: pointer;
}

.form-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
.form-header .heading {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.144px;
  color: var(--fg);
}
.form-header .sub-heading {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: #64748b;
}

.nav-bar {
  border-bottom: 1px solid var(--border-color);
}
.nav-bar .container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  height: 63px;
  align-items: center;
  padding: 10px 24px;
}
.nav-bar .container .container-items {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.nav-bar .container .logo {
  padding: 0 6px;
  cursor: pointer;
}
.nav-bar .container .logo img {
  height: 30px;
}
.nav-bar .container .nav-items {
  padding-left: 24px;
  display: flex;
  align-items: start;
  gap: 20px;
}
.nav-bar .container .nav-items .nav-item {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-fg);
  cursor: pointer;
}
.nav-bar .container .nav-items .nav-item:hover {
  color: var(--fg);
}
.nav-bar .container .nav-items .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.nav-bar .container button {
  background-color: var(--button-secondary-bg);
  color: var(--button-secondary-fg);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  width: max-content;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.nav-bar .container .zickko-button {
  cursor: pointer;
}
.nav-bar .container .zickko-button .icon {
  width: 16px;
  height: 16px;
  margin-right: 2px;
}
.nav-bar .container .actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-bar .container .actions .action {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--fg);
  cursor: pointer;
}
.nav-bar .container .actions .action:hover {
  color: var(--fg);
}
.nav-bar .container .actions .las {
  font-size: 22px;
}
.nav-bar .container .user-icon-container {
  position: relative;
}
.nav-bar .container .user-icon-container .icon-button {
  border-radius: 96px;
  padding: 12px;
  cursor: pointer;
}
.nav-bar .container .user-icon-container .icon-button .icon {
  width: 16px;
  height: 16px;
  margin-right: 0px;
}

.dropdown-menu {
  width: 219px;
  border-radius: 6px;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.dropdown-menu .logged-in-button {
  color: #334155;
  display: block;
  width: 100%;
  background: none;
  border: 1px solid #f1f5f9;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
}
.dropdown-menu .logged-in-button span {
  color: black;
}
.dropdown-menu .switch-button {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid #f1f5f9;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
}
.dropdown-menu .switch-button span {
  color: #334155 !important;
  text-decoration: underline !important;
}

.dropdown-buttons {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid #f1f5f9;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
}

.form-switch {
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.form-switch i {
  position: relative;
  display: inline-block;
  margin-right: 4px;
  width: 46px;
  height: 26px;
  background-color: #e6e6e6;
  border-radius: 23px;
  vertical-align: text-bottom;
  transition: all 0.3s linear;
}

.form-switch i::before {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
  transition: all 0.25s linear;
}

.form-switch i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(2px, 2px, 0);
  transition: all 0.2s ease-in-out;
}

.form-switch:active i::after {
  width: 28px;
  transform: translate3d(2px, 2px, 0);
}

.form-switch:active input:checked + i::after {
  transform: translate3d(16px, 2px, 0);
}

.form-switch input {
  display: none;
}

.form-switch input:checked + i {
  background-color: #4bd763;
}

.form-switch input:checked + i::before {
  transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
}

.form-switch input:checked + i::after {
  transform: translate3d(22px, 2px, 0);
}

/**
 * A normal switch will render as a form item, where the meta is displayed below the form-value (which is the switch)
 * In an inline switch, we change the layout to render the meta below the label itself.
 */
@media (max-width: 767px) {
  .form-item.switch {
    display: grid;
    grid-template-columns: auto max-content;
    grid-template-areas: "a b" "c d";
  }
  .form-item.switch label {
    grid-area: a;
    align-self: center;
  }
  .form-item.switch .form-input {
    grid-area: b;
    justify-self: end;
  }
  .form-item.switch .meta {
    grid-area: c !important;
    margin-top: -3px;
  }
}
.form .form-item.switch {
  display: grid;
  grid-template-columns: auto max-content;
  grid-template-areas: "a b" "c d";
}
.form .form-item.switch label {
  grid-area: a;
  align-self: center;
}
.form .form-item.switch .form-input {
  grid-area: b;
  justify-self: end;
}
.form .form-item.switch .meta {
  grid-area: c !important;
  margin-top: -3px;
}

.form {
  width: 100%;
}
.form label {
  color: #0f172a;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  margin-bottom: 4px;
}
.form input[type=text],
.form input[type=number],
.form input[type=password],
.form input[type=email],
.form textarea {
  background-color: var(--form-element-bg);
  border-radius: 6px;
  border: 1px solid var(--form-element-border);
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s;
  width: 100%;
  padding: 8px;
  color: #0f172a;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}
.form input[type=file]::-webkit-file-upload-button {
  border: 1px solid var(--form-element-border);
  background: var(--form-element-bg);
  border-radius: 5px;
}
.form .image-preview {
  margin-bottom: 15px;
}
.form .image-preview img {
  border-radius: 20px;
  max-width: 100px;
  padding: 0;
  margin: 0;
  border: 3px solid #f1f1f5;
}
.form .video-preview {
  display: flex;
  align-items: center;
}
.form .video-preview img {
  border: none;
  height: 20px;
  margin-right: 5px;
}
.form .form-input {
  position: relative;
}
.form .form-input.has-icon {
  background-color: var(--form-element-bg);
  border-radius: 6px;
  border: 1px solid var(--form-element-border);
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s;
  width: 100%;
  padding: 8px;
  color: #0f172a;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  padding: 0;
  display: flex;
}
.form .form-input.has-icon .icon {
  width: 30px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  display: flex;
  padding-left: 12px;
}
.form .form-input.has-icon img {
  width: 100%;
  align-self: center;
}
.form .form-input.has-icon input {
  margin: 0;
  border: 0;
}
.form .form-input .has-prepend {
  display: flex;
}
.form .form-input .has-prepend .prepend-text {
  background-color: var(--form-element-bg);
  border-radius: 6px;
  border: 1px solid var(--form-element-border);
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s;
  width: 100%;
  padding: 8px;
  color: #0f172a;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  width: auto;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.form .form-input .has-prepend input {
  width: 100%;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.form .form-input .show-password {
  position: absolute;
  right: 15px;
  top: 12px;
  font-size: 12px;
  cursor: pointer;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.form .form-items {
  display: grid;
}
.form .form-items .form-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form .form-buttons {
  margin-top: 24px;
}
.form .form-buttons .submit-button {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  min-width: 100%;
  cursor: pointer;
}
.form select {
  background-color: var(--form-element-bg);
  border-radius: 6px;
  border: 1px solid var(--form-element-border);
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s;
  width: 100%;
  padding: 8px;
  color: #0f172a;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  padding: 10px 14px;
}
.form .meta {
  color: red;
}
.form .error {
  font-size: 12px;
  color: var(--form-element-error);
}
.form .help {
  color: var(--slate-500, #64748b);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: #64748b;
  white-space: pre-wrap;
}
.form .checkbox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.form .clear-link {
  font-size: 12px;
  color: var(--form-element-error);
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 768px) {
  form.responsive {
    display: grid;
    grid-template-columns: 180px 4fr 1fr;
  }
  form.responsive .form-items > .form-item > label {
    align-self: center;
    text-align: right;
    margin-right: 15px;
  }
  form.responsive .form-items {
    row-gap: 16px;
    grid-row: 1;
    grid-column: 1/-1;
  }
  form.responsive .form-items > .form-item {
    display: grid;
    grid-template-columns: 180px 4fr 1fr;
  }
  form.responsive .form-items > .form-item label {
    grid-row: 1;
    grid-column: 1/2;
  }
  form.responsive .form-items > .form-item .form-input {
    grid-row: 1;
    grid-column: 2/3;
  }
  form.responsive .form-items > .form-item .meta {
    grid-row: 2;
    grid-column: 2/3;
  }
  form.responsive .form-input {
    margin-top: 0px;
  }
  form.responsive .form-buttons {
    padding-left: 4px;
    margin-top: 30px;
    grid-row: 2;
    grid-column: 2/3;
  }
  form.horizontal .form-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-column-gap: 20px;
  }
}
/*
textarea,
input,
.input-box {
  &.invalid {
    border-color: var(--form-element-error) !important;
  }
}*/
input:disabled {
  opacity: 0.5;
}

.disabled-label {
  opacity: 0.5;
}

.form-input.disabled {
  background: #f9f9f9 !important;
}

.form-item.inline-title {
  background-color: #f9f9f9;
  padding: 8px 18px !important;
  font-weight: 400;
}

.other a {
  color: #777;
  text-decoration: underline;
  font-size: 14px;
}

.other ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.editor-container {
  border-radius: 2px;
  margin: 0 14px;
  color: #000;
  position: relative;
  line-height: 20px;
  font-weight: 400;
  text-align: left;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.editor-inner {
  background: #fff;
  position: relative;
}

.editor-input {
  min-height: 280px;
  resize: none;
  font-size: 15px;
  caret-color: rgb(5, 5, 5);
  position: relative;
  tab-size: 1;
  outline: 0;
  padding: 15px 10px;
  caret-color: #444;
}
.editor-input p {
  padding: 0;
  margin: 0;
}

.editor-placeholder {
  color: #999;
  overflow: hidden;
  position: absolute;
  text-overflow: ellipsis;
  top: 15px;
  left: 10px;
  font-size: 15px;
  user-select: none;
  display: inline-block;
  pointer-events: none;
}

.editor-text-bold {
  font-weight: bold;
}

.editor-text-italic {
  font-style: italic;
}

.editor-text-underline {
  text-decoration: underline;
}

.editor-text-strikethrough {
  text-decoration: line-through;
}

.editor-text-underlineStrikethrough {
  text-decoration: underline line-through;
}

.editor-text-code {
  background-color: rgb(240, 242, 245);
  padding: 1px 0.25rem;
  font-size: 94%;
}

.editor-link {
  color: rgb(33, 111, 219);
  text-decoration: none;
}

.tree-view-output {
  display: none;
  background: #222;
  color: #fff;
  padding: 5px;
  font-size: 12px;
  white-space: pre-wrap;
  margin: 1px auto 10px auto;
  max-height: 250px;
  position: relative;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: auto;
  line-height: 14px;
}

.editor-code:before {
  content: attr(data-gutter);
  position: absolute;
  background-color: #eee;
  left: 0;
  top: 0;
  border-right: 1px solid #ccc;
  padding: 8px;
  color: #777;
  white-space: pre-wrap;
  text-align: right;
  min-width: 25px;
}

.editor-code:after {
  content: attr(data-highlight-language);
  top: 0;
  right: 3px;
  padding: 3px;
  font-size: 10px;
  text-transform: uppercase;
  position: absolute;
  color: rgba(0, 0, 0, 0.5);
}

.editor-paragraph {
  margin: 0;
  margin-bottom: 8px;
  position: relative;
}

.editor-paragraph:last-child {
  margin-bottom: 0;
}

.editor-list-ol {
  padding: 0;
  margin: 0;
  margin-left: 16px;
}

.editor-list-ul {
  padding: 0;
  margin: 0;
  margin-left: 16px;
}

.editor-listitem {
  margin: 8px 32px 8px 32px;
}

.editor-nested-listitem {
  list-style-type: none;
}

pre::-webkit-scrollbar {
  background: transparent;
  width: 10px;
}

pre::-webkit-scrollbar-thumb {
  background: #999;
}

.debug-timetravel-panel {
  overflow: hidden;
  padding: 0 0 10px 0;
  margin: auto;
  display: flex;
}

.debug-timetravel-panel-slider {
  padding: 0;
  flex: 8;
}

.debug-timetravel-panel-button {
  padding: 0;
  border: 0;
  background: none;
  flex: 1;
  color: #fff;
  font-size: 12px;
}

.debug-timetravel-panel-button:hover {
  text-decoration: underline;
}

.debug-timetravel-button {
  border: 0;
  padding: 0;
  font-size: 12px;
  top: 10px;
  right: 15px;
  position: absolute;
  background: none;
  color: #fff;
}

.debug-timetravel-button:hover {
  text-decoration: underline;
}

.toolbar {
  display: flex;
  margin-bottom: 1px;
  background: #fff;
  padding: 4px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  vertical-align: middle;
}

.toolbar button.toolbar-item {
  border: 0;
  display: flex;
  background: none;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  vertical-align: middle;
}

.toolbar button.toolbar-item:disabled {
  cursor: not-allowed;
}

.toolbar button.toolbar-item.spaced {
  margin-right: 2px;
}

.toolbar button.toolbar-item i.format {
  background-size: contain;
  display: inline-block;
  height: 18px;
  width: 18px;
  margin-top: 2px;
  vertical-align: -0.25em;
  display: flex;
  opacity: 0.6;
}

.toolbar button.toolbar-item:disabled i.format {
  opacity: 0.2;
}

.toolbar button.toolbar-item.active {
  background-color: rgba(223, 232, 250, 0.3);
}

.toolbar button.toolbar-item.active i {
  opacity: 1;
}

.toolbar .toolbar-item:hover:not([disabled]) {
  background-color: #eee;
}

.toolbar .divider {
  width: 1px;
  background-color: #eee;
  margin: 0 4px;
}

.toolbar .toolbar-item .text {
  display: flex;
  line-height: 20px;
  width: 200px;
  vertical-align: middle;
  font-size: 14px;
  color: #777;
  text-overflow: ellipsis;
  width: 70px;
  overflow: hidden;
  height: 20px;
  text-align: left;
}

.toolbar .toolbar-item .icon {
  display: flex;
  width: 20px;
  height: 20px;
  user-select: none;
  margin-right: 8px;
  line-height: 16px;
  background-size: contain;
}

.inbox-page {
  display: grid;
  grid-template-columns: 2fr 2fr;
  border-radius: 10px;
}

.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 4fr;
  border-radius: 10px;
}

.email-portal.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 4fr;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.email-main-container {
  flex: 1;
  display: flex;
  height: 100%;
  overflow: hidden;
}

.sidebar {
  border: 1px solid #e8e9eb;
}
.sidebar .zickko-logo-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid #e8e9eb;
  max-height: 50px;
  padding: 15px 12px;
}
.sidebar .zickko-logo-container .zickko-logo {
  width: 40%;
  cursor: pointer;
}
.sidebar .mailboxes,
.sidebar .categories {
  padding: 10px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e8e9eb;
}
.sidebar .sidebar-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
  padding: 8px;
  margin: 2px 0;
}
.sidebar .sidebar-links .link-icon {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sidebar .sidebar-links .link-icon .text {
  font-weight: 500;
}
.sidebar .sidebar-links .count {
  font-weight: 500;
}
.sidebar .compose-button_container {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  cursor: pointer;
}
.sidebar .compose-button_container .compose-button {
  padding: 24px;
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  width: 60%;
}
.sidebar .compose-button_container .compose-button .text {
  font-weight: 500;
  color: white;
  font-size: 18px;
}
.sidebar .compose-button_container .compose-button .link-icon {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sidebar .sidebar-links:hover {
  background-color: #e8e9eb;
  cursor: pointer;
}
.sidebar .logout-button-container {
  margin-top: 100px;
  padding: 10px;
}
.sidebar .logout-button-container .logout-button {
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  cursor: pointer;
}
.sidebar .logout-button-container .logout-button .logout-icon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.email-list-widget {
  border: 1px solid #e8e9eb;
}
.email-list-widget .email-list-header {
  max-height: 50px;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #e8e9eb;
  align-items: center;
}
.email-list-widget .email-list-header .inbox-heading {
  font-weight: 600;
  font-size: 20px;
}
.email-list-widget .email-list-header .switch-button {
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  background-color: #e8e9eb;
}
.email-list-widget .email-list-header .switch-button :hover {
  cursor: pointer;
}
.email-list-widget .email-list-header .switch-button .all-mail,
.email-list-widget .email-list-header .switch-button .unread {
  background-color: white;
  padding: 2px 8px;
  align-items: center;
  border-radius: 5px;
  font-weight: 400;
}
.email-list-widget .email-list-header .switch-button .all-mail.active,
.email-list-widget .email-list-header .switch-button .unread.active {
  background-color: black;
  color: white;
}
.email-list-widget .list-container {
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: #e8e9eb;
}
.email-list-widget .list-container .no-emails-message {
  text-align: center;
  font-size: 16px;
  color: #666;
  padding: 20px;
}
.email-list-widget .email-list-item-widget-container :hover {
  cursor: pointer;
  background-color: #f4f4f4;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget {
  border: 1px solid #e8e9eb;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 15px;
  gap: 8px;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .heading {
  display: flex;
  justify-content: space-between;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .heading .sender {
  font-weight: 600;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .heading .unread-dot {
  height: 8px;
  width: 8px;
  background-color: blue;
  border-radius: 50%;
  display: inline-block;
  margin-left: 5px;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .subject {
  color: #5a5a5a;
  font-weight: 400;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .mail-snippet {
  color: #525252;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .tags {
  display: flex;
  justify-content: start;
  gap: 5px;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .tags .work-tag {
  color: white;
  background-color: black;
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 400;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .tags .meeting-tag {
  font-weight: 400;
  padding: 4px 8px;
  background-color: #e8e9eb;
  border-radius: 5px;
}
.email-list-widget .email-list-item-widget-container .email-list-item-widget .tags .important-tag {
  color: black;
  background-color: #e8e9eb;
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 400;
}

.email-view-widget {
  border: 1px solid #e8e9eb;
}
.email-view-widget .attachments-div {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.email-view-widget .attachments-div .email-attachment-text {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
}
.email-view-widget .mail-header-container {
  padding: 10px;
  border-bottom: 1px solid #e8e9eb;
}
.email-view-widget .mail-header-container .name-timestamp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.email-view-widget .mail-header-container .name-timestamp-container .timestamp {
  color: #5a5a5a;
}
.email-view-widget .mail-header-container span {
  font-weight: 500;
}
.email-view-widget .mail-content {
  padding: 10px;
  border-bottom: 1px solid #e8e9eb;
}
.email-view-widget .reply-section {
  padding: 20px;
}
.email-view-widget .reply-section textarea {
  border-radius: 5px;
  padding: 15px;
  width: 100%;
  height: 80px;
  border: 2px solid #e8e9eb;
}
.email-view-widget .reply-section .send-button-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.email-view-widget .reply-section .send-button-container .send-button {
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10%;
  border-radius: 5px;
  padding: 8px 5px;
  margin-top: 15px;
  cursor: pointer;
}
.email-view-widget .email-action-items {
  display: flex;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  max-height: 50px;
  border-bottom: 1px solid #e8e9eb;
}
.email-view-widget .email-action-items .actions,
.email-view-widget .email-action-items .reply-actions {
  display: flex;
  gap: 25px;
}
.email-view-widget .email-action-items .actions :hover,
.email-view-widget .email-action-items .reply-actions > * :hover {
  cursor: pointer;
}
.email-view-widget .email-action-items .vertical-line {
  border-left: 2px solid #e8e9eb;
}

.email-thread-container {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  height: 100vh;
}

.thread-list {
  border-right: 1px solid #eee;
  overflow-y: scroll;
}

.thread-messages {
  height: 400px;
  overflow-y: scroll;
}

.thread-messages::-webkit-scrollbar {
  display: none;
}

.message-item {
  padding: 12px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.message-item:hover {
  background-color: #f5f5f5;
}

.message-item.selected {
  background-color: #e3f2fd;
}

.message-content {
  overflow-y: auto;
  padding: 20px;
}

.draft-selected {
  color: red;
}

.email-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 20px;
}
.email-empty-state .empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 400px;
  padding: 40px;
  border: 1px solid #e8e9eb;
  border-radius: 8px;
  background-color: white;
}
.email-empty-state .empty-state-container svg {
  color: #666;
  margin-bottom: 16px;
}
.email-empty-state .empty-state-container h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.email-empty-state .empty-state-container p {
  color: #666;
  margin: 0 0 24px 0;
}
.email-empty-state .empty-state-container .compose-email-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #000;
  color: white;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.email-empty-state .empty-state-container .compose-email-button:hover {
  background-color: #333;
}
.email-empty-state .empty-state-container .compose-email-button svg {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  color: white;
}

.compose-container {
  box-shadow: rgba(100, 100, 111, 0.8) 0px 7px 29px 0px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  width: 80%;
  border-radius: 24px;
  background-color: white;
}
.compose-container .top-links {
  padding-right: 20px;
  overflow: hidden;
  display: flex;
  border-radius: 24px 24px 0 0;
  align-items: center;
  justify-content: space-between;
  background-color: #ececec;
}
.compose-container .top-links .top-links_left {
  display: flex;
  align-items: center;
}
.compose-container .top-links .top-links_left .compose-icon {
  color: #000;
  opacity: 0.7;
  font-size: 1.2rem;
}
.compose-container .top-links .top-links_left .top-text {
  font-size: 1.2rem;
  margin-left: 25px;
}
.compose-container .top-links .top-links_right .right {
  margin-left: 15px;
  color: #000;
  opacity: 0.7;
  font-size: 1.2rem;
}
.compose-container .message-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.compose-container .message-section .message-input-container {
  position: relative;
}
.compose-container .message-section .message-input-container .input-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-bottom: 2px solid #f1f3f4;
  padding-left: 22px;
}
.compose-container .message-section .message-input-container .input-field label {
  font-size: 16px;
}
.compose-container .message-section .message-input-container .input-field .recepient-input {
  width: 100%;
  height: 6vh;
  border: none;
  outline: none;
}
.compose-container .message-section .message-input-container .input-field .other-recepients {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 10px;
  outline: none;
}
.compose-container .message-section .message-input-container .input-field .other-recepients button {
  border: none;
  background-color: white;
  padding: 10px;
  cursor: pointer;
}
.compose-container .message-section .message-input-container .input-field .other-recepients button:hover {
  text-decoration: underline;
}
.compose-container .message-section .message-input-container .input-field .other-recepients .active-recepient {
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  height: 100%;
  width: 48px;
  padding: 5px;
}
.compose-container .message-section .message-input-container .subject-input {
  height: 6vh;
  border: none;
  outline: none;
  border-bottom: 2px solid #f1f3f4;
  padding: 0;
  width: 100%;
  font-size: 16px;
  padding-left: 22px;
}
.compose-container .message-section .attachments-section {
  padding: 10px 25px;
  gap: 20px;
}
.compose-container .message-section .attachments-section .attachment {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  flex-direction: row;
  background-color: #ececec;
  width: 100%;
  margin-top: 10px;
}
.compose-container .message-section .attachments-section .attachment div {
  cursor: pointer;
}
.compose-container .message-section .attachments-section .attachment div:hover {
  color: #1155cc;
}
.compose-container .message-section .attachments-section .attachment-cross {
  cursor: pointer;
}
.compose-container .bottom-links {
  padding: 16px 0;
  padding-right: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.compose-container .bottom-links .bottom-links_left {
  display: flex;
  align-items: center;
  padding-left: 22px;
}
.compose-container .bottom-links .bottom-links_left .send-button-container .send-button {
  background-color: black;
  color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  cursor: pointer;
  width: 127px;
}
.compose-container .bottom-links .bottom-links_left .send-button-container .disabled {
  background-color: gray;
  border: gray;
  cursor: not-allowed;
}
.compose-container .bottom-links .bottom-links_left .toolbar {
  padding-left: 32px;
  gap: 18px;
  align-items: center;
}
.compose-container .bottom-links .bottom-links_right .right {
  margin-left: 15px;
  color: #000;
  opacity: 0.7;
  font-size: 1.2rem;
}
.compose-container .tool-icon {
  cursor: pointer;
}

.email-compose-widget .modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.email-compose-widget .modal-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 42rem;
  padding: 1.5rem;
  position: relative;
}
.email-compose-widget .close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #64748b;
}
.email-compose-widget .close-button:hover {
  color: #334155;
}
.email-compose-widget .widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.email-compose-widget .form-group {
  margin-bottom: 1rem;
}
.email-compose-widget .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.25rem;
}
.email-compose-widget .form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
}
.email-compose-widget .form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.email-compose-widget .button-group {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}
.email-compose-widget .button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.email-compose-widget .button:focus {
  outline: none;
}
.email-compose-widget .button-secondary {
  background-color: #e2e8f0;
  color: #334155;
}
.email-compose-widget .button-secondary:hover {
  background-color: #cbd5e1;
}
.email-compose-widget .button-primary {
  background-color: #3b82f6;
  color: white;
}
.email-compose-widget .button-primary:hover {
  background-color: #2563eb;
}
.email-compose-widget .button-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.email-compose-widget .recipient-input-container {
  position: relative;
}
.email-compose-widget .recipient-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  margin-top: 0.25rem;
}
.email-compose-widget .loading-suggestions,
.email-compose-widget .no-suggestions {
  padding: 0.75rem;
  color: #64748b;
  text-align: center;
  font-size: 0.875rem;
}
.email-compose-widget .suggestion-item {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 0.875rem;
}
.email-compose-widget .suggestion-item:hover {
  background-color: #f1f5f9;
}
.email-compose-widget .suggestion-item.member {
  border-left: 3px solid #3b82f6;
}
.email-compose-widget .suggestion-item.group {
  border-left: 3px solid #10b981;
}
.email-compose-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recipient-input-container {
  position: relative;
  width: 100%;
}
.recipient-input-container .recipient-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-height: 38px;
  background: white;
}
.recipient-input-container .recipient-pill {
  display: flex;
  align-items: center;
  background-color: #e9ecef;
  border-radius: 16px;
  padding: 2px 8px;
  font-size: 14px;
}
.recipient-input-container .recipient-name {
  margin-right: 4px;
}
.recipient-input-container .remove-recipient-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #6c757d;
}
.recipient-input-container .remove-recipient-btn:hover {
  color: #dc3545;
}
.recipient-input-container .recipient-input {
  flex: 1;
  min-width: 100px;
  border: none;
  outline: none;
  padding: 4px 0;
  font-size: 14px;
}
.recipient-input-container .suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.recipient-input-container .suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recipient-input-container .suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
}
.recipient-input-container .suggestion-item:hover {
  background-color: #f8f9fa;
}
.recipient-input-container .suggestion-item.member {
  color: #0d6efd;
}
.recipient-input-container .suggestion-item.group {
  color: #198754;
}
.recipient-input-container .loading-suggestions,
.recipient-input-container .no-suggestions {
  padding: 8px 12px;
  color: #6c757d;
  text-align: center;
}

.html-editor-container .loading-editor {
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
  color: #666;
}
.html-editor-container .quill-editor {
  min-height: 250px;
}
.html-editor-container .ql-toolbar.ql-snow {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-color: #e0e0e0;
  background-color: #f9f9f9;
  z-index: 10;
}
.html-editor-container .ql-container.ql-snow {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-color: #e0e0e0;
  font-family: inherit;
  z-index: 5;
}
.html-editor-container .ql-toolbar.ql-snow + .ql-toolbar.ql-snow {
  display: none;
}
.html-editor-container .ql-container.ql-snow:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.calendar-page-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  flex: 1;
  overflow: hidden;
}

.calendar-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 20px;
  overflow: hidden;
  flex: 1;
}
.calendar-page .calendar-content {
  display: flex;
  flex: 1;
  overflow: hidden;
  border-radius: 5px;
  min-height: 0;
  width: 100%;
  padding: 0;
}
.calendar-page .calendar-sidebar {
  width: 300px;
  border-right: 1px solid #e8e9eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.calendar-page .calendar-sidebar .calendar-navigation {
  padding: 16px;
  border-bottom: 1px solid #e8e9eb;
}
.calendar-page .calendar-sidebar .calendar-navigation h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
}
.calendar-page .calendar-sidebar .calendar-navigation .calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calendar-page .calendar-sidebar .calendar-navigation .calendar-controls button {
  background-color: white;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
}
.calendar-page .calendar-sidebar .calendar-navigation .calendar-controls button:hover {
  background-color: #f5f5f5;
}
.calendar-page .calendar-sidebar .calendar-navigation .calendar-controls .calendar-nav-buttons {
  display: flex;
  gap: 8px;
}
.calendar-page .calendar-sidebar .calendar-navigation .calendar-controls .calendar-nav-buttons button {
  padding: 6px 10px;
  background-color: white;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  transition: all 0.2s ease;
}
.calendar-page .calendar-sidebar .calendar-navigation .calendar-controls .calendar-nav-buttons button:hover {
  background-color: #f5f5f5;
}
.calendar-page .calendar-sidebar .calendar-events-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.calendar-page .calendar-sidebar .calendar-events-list h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px 0;
}
.calendar-page .calendar-sidebar .calendar-events-list .event-item,
.calendar-page .calendar-sidebar .calendar-events-list .calendar-event-item {
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  cursor: pointer;
  border: 1px solid var(--border, #e8e9eb);
}
.calendar-page .calendar-sidebar .calendar-events-list .event-item:hover,
.calendar-page .calendar-sidebar .calendar-events-list .calendar-event-item:hover {
  background-color: var(--accent, #f5f5f5);
}
.calendar-page .calendar-sidebar .calendar-events-list .event-item.selected,
.calendar-page .calendar-sidebar .calendar-events-list .calendar-event-item.selected {
  background-color: var(--accent, #f0f0f0);
  border-color: var(--border, #ccc);
}
.calendar-page .calendar-sidebar .calendar-events-list .event-item .event-title,
.calendar-page .calendar-sidebar .calendar-events-list .calendar-event-item .event-title {
  font-weight: 500;
  margin-bottom: 4px;
}
.calendar-page .calendar-sidebar .calendar-events-list .event-item .event-time,
.calendar-page .calendar-sidebar .calendar-events-list .calendar-event-item .event-time {
  font-size: 12px;
  color: #666;
}
.calendar-page .calendar-main-view {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}
.calendar-page .calendar-main-view .no-event-selected {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #666;
  font-size: 16px;
}
.calendar-page .calendar-main-view .event-details h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
}
.calendar-page .calendar-main-view .event-details p {
  margin-bottom: 20px;
  line-height: 1.5;
}
.calendar-page .calendar-main-view .event-details .event-time-details {
  margin-bottom: 24px;
  padding: 12px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.calendar-page .calendar-main-view .event-details .event-participants h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
}
.calendar-page .calendar-main-view .event-details .event-participants h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 12px 0;
}
.calendar-page .calendar-main-view .event-details .event-participants .internal-participants,
.calendar-page .calendar-main-view .event-details .event-participants .external-participants {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calendar-page .calendar-main-view .event-details .event-participants .participant {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
}
.calendar-page .calendar-main-view .event-details .event-participants .participant .participant-name {
  font-weight: 500;
  margin-right: 12px;
}
.calendar-page .calendar-main-view .event-details .event-participants .participant .participant-email {
  color: #666;
  margin-right: 12px;
}
.calendar-page .calendar-main-view .event-details .event-participants .participant .participant-status {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background-color: #f0f0f0;
}
.calendar-page .calendar-main-view .event-details .event-actions {
  margin: 16px 0;
}
.calendar-page .calendar-main-view .event-details .event-actions .edit-event-button {
  background-color: white;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  transition: all 0.2s ease;
}
.calendar-page .calendar-main-view .event-details .event-actions .edit-event-button:hover {
  background-color: #f5f5f5;
}
.calendar-page .calendar-container .date-navigation {
  padding: 16px;
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-page .calendar-container .calendar-navigation {
  display: none;
}

.calendar-main-container {
  flex: 1;
  display: flex;
  height: 100%;
  overflow: hidden;
}

.calendar-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 20px;
}
.calendar-empty-state .empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 400px;
  padding: 40px;
  border: 1px solid #e8e9eb;
  border-radius: 8px;
  background-color: white;
}
.calendar-empty-state .empty-state-container svg {
  color: #666;
  margin-bottom: 16px;
}
.calendar-empty-state .empty-state-container h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.calendar-empty-state .empty-state-container p {
  color: #666;
  margin: 0 0 24px 0;
}
.calendar-empty-state .empty-state-container .create-event-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #000;
  color: white;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.calendar-empty-state .empty-state-container .create-event-button:hover {
  background-color: #333;
}
.calendar-empty-state .empty-state-container .create-event-button svg {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  color: white;
}

.calendar-portal.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 4fr;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.calendar-portal.layout-sidebar .sidebar {
  border-right: 1px solid #e8e9eb;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.calendar-portal.layout-sidebar .sidebar .zickko-logo-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid #e8e9eb;
  max-height: 50px;
  padding: 15px 12px;
}
.calendar-portal.layout-sidebar .sidebar .zickko-logo-container .zickko-logo {
  width: 40%;
  cursor: pointer;
}
.calendar-portal.layout-sidebar .sidebar .sections {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calendar-portal.layout-sidebar .sidebar .sections .create-button_container {
  margin-bottom: 16px;
}
.calendar-portal.layout-sidebar .sidebar .sections .create-button_container .compose-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #000;
  color: white;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;
}
.calendar-portal.layout-sidebar .sidebar .sections .create-button_container .compose-button:hover {
  background-color: #333;
}
.calendar-portal.layout-sidebar .sidebar .sections .create-button_container .compose-button .link-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.calendar-portal.layout-sidebar .sidebar .sections .create-button_container .compose-button .link-icon svg {
  color: white;
}
.calendar-portal.layout-sidebar .sidebar .sections .create-button_container .compose-button .link-icon .text {
  color: white;
  font-weight: 500;
}
.calendar-portal.layout-sidebar .sidebar .sections .sidebar-links {
  border-radius: 4px;
  transition: all 0.2s ease;
}
.calendar-portal.layout-sidebar .sidebar .sections .sidebar-links:hover {
  background-color: #f5f5f5;
}
.calendar-portal.layout-sidebar .sidebar .sidebar-footer {
  padding: 20px;
  border-top: 1px solid #e8e9eb;
}
.calendar-portal.layout-sidebar .sidebar .sidebar-footer .logout {
  cursor: pointer;
  color: #666;
}
.calendar-portal.layout-sidebar .sidebar .sidebar-footer .logout:hover {
  color: #000;
}

.calendar-top-bar {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 16px;
  position: relative;
}
.calendar-top-bar .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
}
.calendar-top-bar .calendar-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: hsl(240, 10%, 3.9%);
}
.calendar-top-bar .calendar-header .calendar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-top-bar .calendar-header .keyboard-shortcuts-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid hsl(240, 5.9%, 90%);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  color: hsl(240, 3.8%, 46.1%);
  transition: all 0.15s ease;
  height: 36px;
  width: 36px;
}
.calendar-top-bar .calendar-header .keyboard-shortcuts-button:hover {
  background-color: hsl(240, 4.8%, 95.9%);
  color: hsl(240, 5.9%, 10%);
}
.calendar-top-bar .calendar-header .keyboard-shortcuts-button:focus-visible {
  outline: 2px solid hsl(240, 5.9%, 10%);
  outline-offset: 2px;
}
.calendar-top-bar .calendar-header .create-event-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: hsl(240, 5.9%, 10%);
  color: white;
  border: 1px solid hsl(240, 5.9%, 10%);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: all 0.15s ease;
  height: 36px;
}
.calendar-top-bar .calendar-header .create-event-button:hover {
  background-color: hsl(240, 3.8%, 20%);
}
.calendar-top-bar .calendar-header .create-event-button:focus-visible {
  outline: 2px solid hsl(240, 5.9%, 10%);
  outline-offset: 2px;
}
.calendar-top-bar .calendar-header .create-event-button svg {
  display: block;
}
.calendar-top-bar .calendar-subheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
}
.calendar-top-bar .calendar-subheader .month-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  color: hsl(240, 10%, 3.9%);
}

.keyboard-shortcuts-panel {
  position: absolute;
  top: 50px;
  right: 0;
  width: 300px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 10px 38px -10px rgba(22, 23, 24, 0.35), 0 10px 20px -15px rgba(22, 23, 24, 0.2);
  z-index: 100;
  overflow: hidden;
  border: 1px solid hsl(240, 5.9%, 90%);
}
.keyboard-shortcuts-panel .shortcuts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid hsl(240, 5.9%, 90%);
}
.keyboard-shortcuts-panel .shortcuts-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: hsl(240, 10%, 3.9%);
}
.keyboard-shortcuts-panel .shortcuts-header .close-shortcuts-button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(240, 3.8%, 46.1%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.keyboard-shortcuts-panel .shortcuts-header .close-shortcuts-button:hover {
  background-color: hsl(240, 4.8%, 95.9%);
  color: hsl(240, 5.9%, 10%);
}
.keyboard-shortcuts-panel .shortcuts-header .close-shortcuts-button:focus-visible {
  outline: 2px solid hsl(240, 5.9%, 10%);
  outline-offset: 2px;
}
.keyboard-shortcuts-panel .shortcuts-list {
  padding: 12px 16px;
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item:last-child {
  margin-bottom: 0;
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item .shortcut-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background-color: hsl(240, 4.8%, 95.9%);
  border-radius: 4px;
  border: 1px solid hsl(240, 5.9%, 90%);
  margin-right: 12px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 6px;
  color: hsl(240, 5.9%, 10%);
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item .shortcut-description {
  font-size: 14px;
  color: hsl(240, 3.8%, 46.1%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.calendar-view-switcher {
  display: flex;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}
.calendar-view-switcher .view-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid hsl(240, 5.9%, 90%);
  background-color: white;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: hsl(240, 3.8%, 46.1%);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  border-radius: 0;
  position: relative;
  height: 36px;
}
.calendar-view-switcher .view-button:not(:first-child) {
  border-left: none;
}
.calendar-view-switcher .view-button:first-child {
  border-radius: 4px 0 0 4px;
}
.calendar-view-switcher .view-button:last-child {
  border-radius: 0 4px 4px 0;
}
.calendar-view-switcher .view-button:hover {
  background-color: hsl(240, 4.8%, 95.9%);
  color: hsl(240, 5.9%, 10%);
}
.calendar-view-switcher .view-button:focus-visible {
  outline: 2px solid hsl(240, 5.9%, 10%);
  outline-offset: -1px;
  z-index: 2;
}
.calendar-view-switcher .view-button.active {
  background-color: hsl(240, 5.9%, 94%);
  color: hsl(240, 5.9%, 10%);
  font-weight: 600;
  border-color: hsl(240, 5.9%, 90%);
}
.calendar-view-switcher .view-button svg {
  color: currentColor;
}

:root {
  --event-color-red: #e53935;
  --event-color-pink: #d81b60;
  --event-color-orange: #fb8c00;
  --event-color-yellow: #fdd835;
  --event-color-green-light: #43a047;
  --event-color-green-dark: #2e7d32;
  --event-color-blue-light: #039be5;
  --event-color-blue: #1e88e5;
  --event-color-purple-light: #8e24aa;
  --event-color-purple: #5e35b1;
  --event-color-gray: #616161;
}

.event-title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-base-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.calendar-month-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  flex: 1;
}
.calendar-month-view .calendar-grid {
  display: grid;
  grid-template-rows: auto 1fr;
  flex: 1;
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  overflow: hidden;
}
.calendar-month-view .weekday-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: var(--accent, #f5f5f5);
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-month-view .weekday-header div {
  padding: 10px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  color: var(--foreground, #333);
}
.calendar-month-view .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  flex: 1;
}
.calendar-month-view .calendar-day {
  border-right: 1px solid var(--border, #e8e9eb);
  border-bottom: 1px solid var(--border, #e8e9eb);
  padding: 8px;
  min-height: 100px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.calendar-month-view .calendar-day:nth-child(7n) {
  border-right: none;
}
.calendar-month-view .calendar-day.other-month {
  background-color: var(--muted, #f9f9f9);
  color: var(--muted-foreground, #999);
}
.calendar-month-view .calendar-day.today {
  background-color: var(--accent, #f5f5f5);
}
.calendar-month-view .calendar-day.today .day-number {
  font-weight: 600;
  color: var(--accent-foreground, #0066cc);
}
.calendar-month-view .calendar-day .day-number {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.calendar-month-view .calendar-day .day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  flex: 1;
}
.calendar-month-view .calendar-day .event-item {
  background-color: var(--primary, #0066cc);
  color: white;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calendar-month-view .calendar-day .event-item:hover {
  filter: brightness(1.1);
}
.calendar-month-view .calendar-day .event-item.selected {
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.5));
}
.calendar-month-view .calendar-day .event-item .event-title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-month-view .calendar-day .event-item.time-bound {
  background-color: transparent;
  color: var(--foreground, #333);
  padding: 2px 6px;
  border: none;
}
.calendar-month-view .calendar-day .event-item.time-bound .event-title {
  font-weight: 400;
  display: flex;
  align-items: center;
}
.calendar-month-view .calendar-day .event-item.time-bound .event-dot {
  display: inline-block;
  margin-right: 6px;
  font-size: 24px;
  line-height: 0;
  position: relative;
  top: -1px;
}
.calendar-month-view .calendar-day .event-item.time-bound.event-color-red, .calendar-month-view .calendar-day .event-item.time-bound.event-color-pink, .calendar-month-view .calendar-day .event-item.time-bound.event-color-orange, .calendar-month-view .calendar-day .event-item.time-bound.event-color-green-light, .calendar-month-view .calendar-day .event-item.time-bound.event-color-green-dark, .calendar-month-view .calendar-day .event-item.time-bound.event-color-blue-light, .calendar-month-view .calendar-day .event-item.time-bound.event-color-blue, .calendar-month-view .calendar-day .event-item.time-bound.event-color-purple-light, .calendar-month-view .calendar-day .event-item.time-bound.event-color-purple, .calendar-month-view .calendar-day .event-item.time-bound.event-color-gray, .calendar-month-view .calendar-day .event-item.time-bound.event-color-yellow {
  background-color: transparent;
  color: var(--foreground, #333);
}
.calendar-month-view .calendar-day .event-item.event-color-red {
  background-color: var(--event-color-red);
}
.calendar-month-view .calendar-day .event-item.event-color-pink {
  background-color: var(--event-color-pink);
}
.calendar-month-view .calendar-day .event-item.event-color-orange {
  background-color: var(--event-color-orange);
}
.calendar-month-view .calendar-day .event-item.event-color-yellow {
  background-color: var(--event-color-yellow);
  color: #333;
}
.calendar-month-view .calendar-day .event-item.event-color-green-light {
  background-color: var(--event-color-green-light);
}
.calendar-month-view .calendar-day .event-item.event-color-green-dark {
  background-color: var(--event-color-green-dark);
}
.calendar-month-view .calendar-day .event-item.event-color-blue-light {
  background-color: var(--event-color-blue-light);
}
.calendar-month-view .calendar-day .event-item.event-color-blue {
  background-color: var(--event-color-blue);
}
.calendar-month-view .calendar-day .event-item.event-color-purple-light {
  background-color: var(--event-color-purple-light);
}
.calendar-month-view .calendar-day .event-item.event-color-purple {
  background-color: var(--event-color-purple);
}
.calendar-month-view .calendar-day .event-item.event-color-gray {
  background-color: var(--event-color-gray);
}
.calendar-month-view .calendar-day .more-events {
  font-size: 12px;
  color: var(--muted-foreground, #666);
  text-align: center;
  padding: 2px;
  cursor: pointer;
}
.calendar-month-view .calendar-day .more-events:hover {
  text-decoration: underline;
}

.calendar-week-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  flex: 1;
}
.calendar-week-view .calendar-week-grid {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  overflow: hidden;
  flex: 1;
}
.calendar-week-view .time-column {
  border-right: 1px solid var(--border, #e8e9eb);
  background-color: var(--muted, #f9f9f9);
}
.calendar-week-view .time-column .day-header {
  height: 60px;
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-week-view .time-column .hour-cell {
  height: 60px;
  padding: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--muted-foreground, #666);
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-week-view .day-column {
  border-right: 1px solid var(--border, #e8e9eb);
  position: relative;
}
.calendar-week-view .day-column:last-child {
  border-right: none;
}
.calendar-week-view .day-column .day-header {
  height: 60px;
  padding: 8px;
  border-bottom: 1px solid var(--border, #e8e9eb);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.calendar-week-view .day-column .day-header.today {
  background-color: var(--accent, #f5f5f5);
}
.calendar-week-view .day-column .day-header.today .date {
  color: var(--accent-foreground, #0066cc);
  font-weight: 600;
}
.calendar-week-view .day-column .day-header .weekday {
  font-size: 12px;
  color: var(--muted-foreground, #666);
}
.calendar-week-view .day-column .day-header .date {
  font-size: 16px;
  font-weight: 500;
}
.calendar-week-view .day-column .hour-cell {
  height: 60px;
  border-bottom: 1px solid var(--border, #e8e9eb);
  padding: 2px;
  position: relative;
  overflow: visible;
}
.calendar-week-view .day-column .event-item-inline {
  background-color: var(--primary, #0066cc);
  color: white;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 12px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}
.calendar-week-view .day-column .event-item-inline:hover {
  filter: brightness(1.1);
  z-index: 2;
}
.calendar-week-view .day-column .event-item-inline.selected {
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.5));
  z-index: 3;
}
.calendar-week-view .day-column .event-item-inline .event-time {
  font-size: 10px;
  opacity: 0.9;
}
.calendar-week-view .day-column .event-item-inline.event-color-red {
  background-color: var(--event-color-red);
}
.calendar-week-view .day-column .event-item-inline.event-color-pink {
  background-color: var(--event-color-pink);
}
.calendar-week-view .day-column .event-item-inline.event-color-orange {
  background-color: var(--event-color-orange);
}
.calendar-week-view .day-column .event-item-inline.event-color-yellow {
  background-color: var(--event-color-yellow);
  color: #333;
}
.calendar-week-view .day-column .event-item-inline.event-color-green-light {
  background-color: var(--event-color-green-light);
}
.calendar-week-view .day-column .event-item-inline.event-color-green-dark {
  background-color: var(--event-color-green-dark);
}
.calendar-week-view .day-column .event-item-inline.event-color-blue-light {
  background-color: var(--event-color-blue-light);
}
.calendar-week-view .day-column .event-item-inline.event-color-blue {
  background-color: var(--event-color-blue);
}
.calendar-week-view .day-column .event-item-inline.event-color-purple-light {
  background-color: var(--event-color-purple-light);
}
.calendar-week-view .day-column .event-item-inline.event-color-purple {
  background-color: var(--event-color-purple);
}
.calendar-week-view .day-column .event-item-inline.event-color-gray {
  background-color: var(--event-color-gray);
}
.calendar-week-view .day-column .event-item {
  position: absolute;
  left: 4px;
  right: 4px;
  background-color: var(--primary, #0066cc);
  color: white;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 12px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: all 0.2s ease;
}
.calendar-week-view .day-column .event-item:hover {
  filter: brightness(1.1);
  z-index: 2;
}
.calendar-week-view .day-column .event-item.selected {
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.5));
  z-index: 3;
}
.calendar-week-view .day-column .event-item .event-time {
  font-size: 10px;
  opacity: 0.9;
}
.calendar-week-view .day-column .event-item.event-color-red {
  background-color: var(--event-color-red);
}
.calendar-week-view .day-column .event-item.event-color-pink {
  background-color: var(--event-color-pink);
}
.calendar-week-view .day-column .event-item.event-color-orange {
  background-color: var(--event-color-orange);
}
.calendar-week-view .day-column .event-item.event-color-yellow {
  background-color: var(--event-color-yellow);
  color: #333;
}
.calendar-week-view .day-column .event-item.event-color-green-light {
  background-color: var(--event-color-green-light);
}
.calendar-week-view .day-column .event-item.event-color-green-dark {
  background-color: var(--event-color-green-dark);
}
.calendar-week-view .day-column .event-item.event-color-blue-light {
  background-color: var(--event-color-blue-light);
}
.calendar-week-view .day-column .event-item.event-color-blue {
  background-color: var(--event-color-blue);
}
.calendar-week-view .day-column .event-item.event-color-purple-light {
  background-color: var(--event-color-purple-light);
}
.calendar-week-view .day-column .event-item.event-color-purple {
  background-color: var(--event-color-purple);
}
.calendar-week-view .day-column .event-item.event-color-gray {
  background-color: var(--event-color-gray);
}
.calendar-week-view .no-events-message {
  text-align: center;
  padding: 16px;
  color: var(--muted-foreground, #666);
  font-style: italic;
  margin-top: 16px;
  background-color: var(--accent, #f5f5f5);
  border-radius: 4px;
}
.calendar-week-view .no-events-message .sample-events-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.calendar-week-view .no-events-message .add-sample-event-button {
  display: block;
  margin: 0 auto;
  padding: 8px 16px;
  background-color: var(--primary, #0066cc);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calendar-week-view .no-events-message .add-sample-event-button:hover {
  filter: brightness(1.1);
}

.calendar-day-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  flex: 1;
}
.calendar-day-view .day-view-grid {
  display: grid;
  grid-template-columns: 60px 1fr;
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  overflow: hidden;
  flex: 1;
}
.calendar-day-view .time-column {
  border-right: 1px solid var(--border, #e8e9eb);
  background-color: var(--muted, #f9f9f9);
}
.calendar-day-view .time-column .hour-cell {
  height: 60px;
  padding: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--muted-foreground, #666);
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-day-view .events-column {
  display: flex;
  flex-direction: column;
}
.calendar-day-view .events-column .hour-events {
  height: 60px;
  border-bottom: 1px solid var(--border, #e8e9eb);
  padding: 2px;
  position: relative;
}
.calendar-day-view .events-column .event-item-inline {
  background-color: var(--primary, #0066cc);
  color: white;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 12px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}
.calendar-day-view .events-column .event-item-inline:hover {
  filter: brightness(1.1);
  z-index: 2;
}
.calendar-day-view .events-column .event-item-inline.selected {
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.5));
  z-index: 3;
}
.calendar-day-view .events-column .event-item-inline .event-time {
  font-size: 10px;
  opacity: 0.9;
}
.calendar-day-view .events-column .event-item {
  position: absolute;
  left: 4px;
  right: 4px;
  background-color: var(--primary, #0066cc);
  color: white;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 12px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: all 0.2s ease;
}
.calendar-day-view .events-column .event-item:hover {
  filter: brightness(1.1);
  z-index: 2;
}
.calendar-day-view .events-column .event-item.selected {
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.5));
  z-index: 3;
}
.calendar-day-view .events-column .event-item .event-time {
  font-size: 10px;
  opacity: 0.9;
}
.calendar-day-view .events-column .event-item.event-color-red {
  background-color: var(--event-color-red);
}
.calendar-day-view .events-column .event-item.event-color-pink {
  background-color: var(--event-color-pink);
}
.calendar-day-view .events-column .event-item.event-color-orange {
  background-color: var(--event-color-orange);
}
.calendar-day-view .events-column .event-item.event-color-yellow {
  background-color: var(--event-color-yellow);
  color: #333;
}
.calendar-day-view .events-column .event-item.event-color-green-light {
  background-color: var(--event-color-green-light);
}
.calendar-day-view .events-column .event-item.event-color-green-dark {
  background-color: var(--event-color-green-dark);
}
.calendar-day-view .events-column .event-item.event-color-blue-light {
  background-color: var(--event-color-blue-light);
}
.calendar-day-view .events-column .event-item.event-color-blue {
  background-color: var(--event-color-blue);
}
.calendar-day-view .events-column .event-item.event-color-purple-light {
  background-color: var(--event-color-purple-light);
}
.calendar-day-view .events-column .event-item.event-color-purple {
  background-color: var(--event-color-purple);
}
.calendar-day-view .events-column .event-item.event-color-gray {
  background-color: var(--event-color-gray);
}
.calendar-day-view .no-events-message {
  text-align: center;
  padding: 16px;
  color: var(--muted-foreground, #666);
  font-style: italic;
  margin-top: 16px;
  background-color: var(--accent, #f5f5f5);
  border-radius: 4px;
}
.calendar-day-view .no-events-message .sample-events-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.calendar-day-view .no-events-message .add-sample-event-button {
  display: block;
  margin: 0 auto;
  padding: 8px 16px;
  background-color: var(--primary, #0066cc);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calendar-day-view .no-events-message .add-sample-event-button:hover {
  filter: brightness(1.1);
}
.calendar-day-view .all-day-events {
  margin-top: 16px;
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  overflow: hidden;
}
.calendar-day-view .all-day-events h3 {
  padding: 8px 12px;
  margin: 0;
  background-color: var(--accent, #f5f5f5);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-day-view .all-day-events .all-day-events-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calendar-day-view .all-day-events .all-day-event {
  background-color: var(--primary, #0066cc);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calendar-day-view .all-day-events .all-day-event:hover {
  filter: brightness(1.1);
}
.calendar-day-view .all-day-events .all-day-event.selected {
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.5));
}
.calendar-day-view .all-day-events .all-day-event .event-title {
  font-weight: 500;
  margin-bottom: 4px;
}
.calendar-day-view .all-day-events .all-day-event .event-date {
  font-size: 12px;
  opacity: 0.9;
}

.calendar-schedule-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  flex: 1;
}
.calendar-schedule-view .calendar-schedule-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  flex: 1;
}
.calendar-schedule-view .calendar-events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.calendar-schedule-view .event-date-group {
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  overflow: hidden;
}
.calendar-schedule-view .date-header {
  background-color: var(--accent, #f5f5f5);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-schedule-view .date-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.calendar-schedule-view .date-events {
  display: flex;
  flex-direction: column;
}
.calendar-schedule-view .event-item {
  padding: 12px;
  border-bottom: 1px solid var(--border, #e8e9eb);
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calendar-schedule-view .event-item:last-child {
  border-bottom: none;
}
.calendar-schedule-view .event-item:hover {
  background-color: var(--accent, #f5f5f5);
}
.calendar-schedule-view .event-item.selected {
  background-color: var(--accent, #f0f7ff);
  border-left: 3px solid var(--primary, #0066cc);
}
.calendar-schedule-view .event-item .event-time {
  font-size: 12px;
  color: var(--muted-foreground, #666);
}
.calendar-schedule-view .event-item .event-title {
  font-weight: 500;
}
.calendar-schedule-view .no-events {
  padding: 24px;
  text-align: center;
  color: var(--muted-foreground, #666);
  font-style: italic;
}
.calendar-schedule-view .calendar-event-details {
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  overflow: hidden;
}
.calendar-schedule-view .event-details {
  padding: 16px;
}
.calendar-schedule-view .event-details h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}
.calendar-schedule-view .event-details p {
  margin-bottom: 16px;
  line-height: 1.5;
}
.calendar-schedule-view .event-time-details {
  margin-bottom: 16px;
  padding: 12px;
  background-color: var(--accent, #f5f5f5);
  border-radius: 4px;
  font-size: 14px;
}
.calendar-schedule-view .event-participants h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.calendar-schedule-view .event-participants h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 16px;
}
.calendar-schedule-view .participant {
  padding: 8px 0;
  border-bottom: 1px solid var(--border, #e8e9eb);
}
.calendar-schedule-view .participant:last-child {
  border-bottom: none;
}
.calendar-schedule-view .participant .participant-name {
  font-weight: 500;
}
.calendar-schedule-view .participant .participant-email,
.calendar-schedule-view .participant .participant-status {
  font-size: 12px;
  color: var(--muted-foreground, #666);
}
.calendar-schedule-view .no-event-selected {
  padding: 24px;
  text-align: center;
  color: var(--muted-foreground, #666);
  font-style: italic;
}

.event-color-picker {
  margin-bottom: 16px;
}
.event-color-picker .color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.event-color-picker .color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}
.event-color-picker .color-option:hover {
  transform: scale(1.1);
}
.event-color-picker .color-option.selected {
  border-color: var(--ring, rgba(24, 144, 255, 0.5));
}
.event-color-picker .color-option svg {
  color: white;
}
.event-color-picker .color-option.event-color-yellow svg {
  color: #333;
}
.event-color-picker .color-option.event-color-red {
  background-color: var(--event-color-red);
}
.event-color-picker .color-option.event-color-pink {
  background-color: var(--event-color-pink);
}
.event-color-picker .color-option.event-color-orange {
  background-color: var(--event-color-orange);
}
.event-color-picker .color-option.event-color-yellow {
  background-color: var(--event-color-yellow);
}
.event-color-picker .color-option.event-color-green-light {
  background-color: var(--event-color-green-light);
}
.event-color-picker .color-option.event-color-green-dark {
  background-color: var(--event-color-green-dark);
}
.event-color-picker .color-option.event-color-blue-light {
  background-color: var(--event-color-blue-light);
}
.event-color-picker .color-option.event-color-blue {
  background-color: var(--event-color-blue);
}
.event-color-picker .color-option.event-color-purple-light {
  background-color: var(--event-color-purple-light);
}
.event-color-picker .color-option.event-color-purple {
  background-color: var(--event-color-purple);
}
.event-color-picker .color-option.event-color-gray {
  background-color: var(--event-color-gray);
}

.calendar-event-view-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.calendar-event-view-modal {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 16px;
  border-bottom: 1px solid var(--border, #e8e9eb);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-title-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-color-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.event-color-indicator.event-color-red {
  background-color: var(--event-color-red);
}

.event-color-indicator.event-color-pink {
  background-color: var(--event-color-pink);
}

.event-color-indicator.event-color-orange {
  background-color: var(--event-color-orange);
}

.event-color-indicator.event-color-yellow {
  background-color: var(--event-color-yellow);
}

.event-color-indicator.event-color-green-light {
  background-color: var(--event-color-green-light);
}

.event-color-indicator.event-color-green-dark {
  background-color: var(--event-color-green-dark);
}

.event-color-indicator.event-color-blue-light {
  background-color: var(--event-color-blue-light);
}

.event-color-indicator.event-color-blue {
  background-color: var(--event-color-blue);
}

.event-color-indicator.event-color-purple-light {
  background-color: var(--event-color-purple-light);
}

.event-color-indicator.event-color-purple {
  background-color: var(--event-color-purple);
}

.event-color-indicator.event-color-gray {
  background-color: var(--event-color-gray);
}

.modal-content {
  padding: 16px;
}

.event-details {
  margin-bottom: 24px;
}

.event-time {
  font-size: 14px;
  color: var(--muted-foreground, #666);
  margin-bottom: 16px;
}

.event-color-details {
  margin-bottom: 16px;
}

.color-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.color-sample {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.color-sample.event-color-red {
  background-color: var(--event-color-red);
}

.color-sample.event-color-pink {
  background-color: var(--event-color-pink);
}

.color-sample.event-color-orange {
  background-color: var(--event-color-orange);
}

.color-sample.event-color-yellow {
  background-color: var(--event-color-yellow);
}

.color-sample.event-color-green-light {
  background-color: var(--event-color-green-light);
}

.color-sample.event-color-green-dark {
  background-color: var(--event-color-green-dark);
}

.color-sample.event-color-blue-light {
  background-color: var(--event-color-blue-light);
}

.color-sample.event-color-blue {
  background-color: var(--event-color-blue);
}

.color-sample.event-color-purple-light {
  background-color: var(--event-color-purple-light);
}

.color-sample.event-color-purple {
  background-color: var(--event-color-purple);
}

.color-sample.event-color-gray {
  background-color: var(--event-color-gray);
}

.color-name {
  font-size: 14px;
}

.event-description {
  margin-bottom: 16px;
}

.event-description h3,
.event-color-details h3,
.event-participants h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.event-dot {
  font-size: 24px;
  line-height: 0;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: -1px;
}

.event-dot.event-color-red {
  color: var(--event-color-red);
}

.event-dot.event-color-pink {
  color: var(--event-color-pink);
}

.event-dot.event-color-orange {
  color: var(--event-color-orange);
}

.event-dot.event-color-yellow {
  color: var(--event-color-yellow);
}

.event-dot.event-color-green-light {
  color: var(--event-color-green-light);
}

.event-dot.event-color-green-dark {
  color: var(--event-color-green-dark);
}

.event-dot.event-color-blue-light {
  color: var(--event-color-blue-light);
}

.event-dot.event-color-blue {
  color: var(--event-color-blue);
}

.event-dot.event-color-purple-light {
  color: var(--event-color-purple-light);
}

.event-dot.event-color-purple {
  color: var(--event-color-purple);
}

.event-dot.event-color-gray {
  color: var(--event-color-gray);
}

.date-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
}
.date-navigation .date-navigation-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}
.date-navigation .date-navigation-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.date-navigation .date-navigation-controls .date-navigation-today-button {
  background-color: white;
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground, #333);
  transition: all 0.2s ease;
  height: 36px;
  display: flex;
  align-items: center;
}
.date-navigation .date-navigation-controls .date-navigation-today-button:hover {
  background-color: var(--accent, #f5f5f5);
}
.date-navigation .date-navigation-controls .date-navigation-today-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.2));
}
.date-navigation .date-navigation-controls .date-navigation-buttons {
  display: flex;
  gap: 2px;
}
.date-navigation .date-navigation-controls .date-navigation-buttons .date-navigation-nav-button {
  background-color: white;
  border: 1px solid var(--border, #e8e9eb);
  border-radius: 4px;
  padding: 6px 10px;
  min-width: 32px;
  height: 36px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground, #333);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-navigation .date-navigation-controls .date-navigation-buttons .date-navigation-nav-button:hover {
  background-color: var(--accent, #f5f5f5);
}
.date-navigation .date-navigation-controls .date-navigation-buttons .date-navigation-nav-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring, rgba(24, 144, 255, 0.2));
}

.calendar-event-edit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.calendar-event-edit-modal {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.calendar-event-edit-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e8e9eb;
}
.calendar-event-edit-modal .modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.calendar-event-edit-modal .modal-header .close-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #666;
}
.calendar-event-edit-modal .modal-header .close-button:hover {
  color: #333;
}

.event-form {
  padding: 20px;
}
.event-form .form-group {
  margin-bottom: 16px;
}
.event-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}
.event-form .form-group input[type=text],
.event-form .form-group input[type=date],
.event-form .form-group input[type=time],
.event-form .form-group input[type=number],
.event-form .form-group textarea,
.event-form .form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  font-size: 14px;
}
.event-form .form-group input[type=text]:focus,
.event-form .form-group input[type=date]:focus,
.event-form .form-group input[type=time]:focus,
.event-form .form-group input[type=number]:focus,
.event-form .form-group textarea:focus,
.event-form .form-group select:focus {
  outline: none;
  border-color: #999;
}
.event-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.event-form .date-time-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.event-form .event-type-selector {
  display: flex;
  gap: 16px;
}
.event-form .event-type-selector label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal;
}
.event-form .event-type-selector label input[type=radio] {
  position: absolute;
  opacity: 0;
}
.event-form .event-type-selector label svg {
  color: #666;
}
.event-form .event-type-selector label.selected {
  background-color: #f5f5f5;
  border-color: #ccc;
}
.event-form .event-type-selector label.selected svg {
  color: #333;
}
.event-form .event-type-selector label:hover {
  background-color: #f9f9f9;
}
.event-form .participants-container .participants-list {
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  padding: 12px;
}
.event-form .participants-container .participants-list .participant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: #f5f5f5;
  margin-bottom: 8px;
}
.event-form .participants-container .participants-list .participant.current-user {
  background-color: #f0f0f0;
  font-weight: 500;
}
.event-form .participants-container .participants-list .participant.current-user .status {
  background-color: #e0e0e0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.event-form .participants-container .participants-list .add-participant-note {
  padding: 12px;
  background-color: #f9f9f9;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  text-align: center;
}
.event-form .error-message {
  margin: 16px 0;
  padding: 12px;
  background-color: #fff0f0;
  border: 1px solid #ffcccc;
  border-radius: 4px;
  color: #cc0000;
  font-size: 14px;
}
.event-form .form-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e8e9eb;
}
.event-form .form-actions button {
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.event-form .form-actions .cancel-button {
  background-color: white;
  border: 1px solid #e8e9eb;
  color: #333;
}
.event-form .form-actions .cancel-button:hover {
  background-color: #f5f5f5;
}
.event-form .form-actions .submit-button {
  background-color: #000;
  border: 1px solid #000;
  color: white;
  min-width: 120px;
}
.event-form .form-actions .submit-button:hover {
  background-color: #333;
}
.event-form .form-actions .submit-button:disabled {
  background-color: #999;
  border-color: #999;
  cursor: not-allowed;
}

.event-form .date-time-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.event-form .recurring-event-section .weekly-options {
  margin-top: 12px;
  margin-bottom: 16px;
}
.event-form .recurring-event-section .weekly-options .weekday-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.event-form .recurring-event-section .weekly-options .weekday-selector .weekday-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e8e9eb;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}
.event-form .recurring-event-section .weekly-options .weekday-selector .weekday-option.selected {
  background-color: #000;
  color: white;
  border-color: #000;
}
.event-form .recurring-event-section .weekly-options .weekday-selector .weekday-option:hover:not(.selected) {
  background-color: #f5f5f5;
}

.event-form .recurring-event-section .monthly-options {
  margin-top: 12px;
  margin-bottom: 16px;
}
.event-form .recurring-event-section .monthly-options .monthly-type-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.event-form .recurring-event-section .monthly-options .monthly-type-selector .monthly-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  cursor: pointer;
}
.event-form .recurring-event-section .monthly-options .monthly-type-selector .monthly-option input[type=radio] {
  margin-right: 8px;
}
.event-form .recurring-event-section .monthly-options .monthly-type-selector .monthly-option.selected {
  background-color: #f5f5f5;
  border-color: #ccc;
}
.event-form .recurring-event-section .monthly-options .monthly-type-selector .monthly-option:hover:not(.selected) {
  background-color: #f9f9f9;
}
.event-form .recurring-event-section .monthly-options .monthly-type-selector .monthly-option .option-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.event-form .recurring-event-section .monthly-options .monthly-type-selector .monthly-option .option-inputs select {
  min-width: 120px;
}

.event-form .recurring-event-section .yearly-options {
  margin-top: 12px;
  margin-bottom: 16px;
}
.event-form .recurring-event-section .yearly-options .yearly-type-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.event-form .recurring-event-section .yearly-options .yearly-type-selector .yearly-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  cursor: pointer;
}
.event-form .recurring-event-section .yearly-options .yearly-type-selector .yearly-option input[type=radio] {
  margin-right: 8px;
}
.event-form .recurring-event-section .yearly-options .yearly-type-selector .yearly-option.selected {
  background-color: #f5f5f5;
  border-color: #ccc;
}
.event-form .recurring-event-section .yearly-options .yearly-type-selector .yearly-option:hover:not(.selected) {
  background-color: #f9f9f9;
}
.event-form .recurring-event-section .yearly-options .yearly-type-selector .yearly-option .option-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.event-form .recurring-event-section .yearly-options .yearly-type-selector .yearly-option .option-inputs select {
  min-width: 100px;
}

.event-form .recurring-event-section {
  margin-top: 16px;
}
.event-form .recurring-event-section .recurrence-type-selector {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.event-form .recurring-event-section .recurrence-type-selector label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e8e9eb;
  border-radius: 4px;
  cursor: pointer;
  font-weight: normal;
}
.event-form .recurring-event-section .recurrence-type-selector label input[type=radio] {
  position: absolute;
  opacity: 0;
}
.event-form .recurring-event-section .recurrence-type-selector label.selected {
  background-color: #f5f5f5;
  border-color: #ccc;
}
.event-form .recurring-event-section .recurrence-type-selector label:hover {
  background-color: #f9f9f9;
}
.event-form .recurring-event-section .form-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.event-form .recurring-event-section .form-group label {
  min-width: 120px;
  margin-bottom: 0;
}
.event-form .recurring-event-section .form-group input[type=number] {
  width: 80px;
}
.event-form .recurring-event-section .form-group select {
  width: 100%;
  background-color: white;
}
.event-form .recurring-event-section .date-time-section .form-group {
  display: block;
}
.event-form .recurring-event-section .date-time-section .form-group label {
  display: block;
  margin-bottom: 8px;
  min-width: auto;
}
.event-form .recurring-event-section .date-time-section .form-group input {
  width: 100%;
}

.calendar-event-view-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.calendar-event-view-modal {
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  position: relative;
}
.calendar-event-view-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px;
  border-bottom: 1px solid #f1f5f9;
}
.calendar-event-view-modal .modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
}
.calendar-event-view-modal .modal-header .modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-event-view-modal .modal-header .action-button,
.calendar-event-view-modal .modal-header .close-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #64748b;
  font-size: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.calendar-event-view-modal .modal-header .action-button:hover,
.calendar-event-view-modal .modal-header .close-button:hover {
  background-color: #f1f5f9;
}
.calendar-event-view-modal .modal-header .action-button .action-icon,
.calendar-event-view-modal .modal-header .close-button .action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar-event-view-modal .modal-header .edit-button:hover {
  color: #4f46e5;
}
.calendar-event-view-modal .modal-header .delete-button:hover {
  color: #ef4444;
}
.calendar-event-view-modal .modal-header .close-button {
  font-size: 20px;
}
.calendar-event-view-modal .modal-header .close-button:hover {
  color: #334155;
}
.calendar-event-view-modal .modal-content {
  padding: 24px;
}
.calendar-event-view-modal .modal-content .event-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calendar-event-view-modal .modal-content .event-details .event-time {
  display: flex;
  align-items: center;
  color: #64748b;
  font-size: 16px;
  padding: 0;
  margin: 0;
  font-weight: 500;
}
.calendar-event-view-modal .modal-content .event-details .event-time i {
  color: #6366f1;
  margin-right: 8px;
}
.calendar-event-view-modal .modal-content .event-details .event-description h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #334155;
}
.calendar-event-view-modal .modal-content .event-details .event-description p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  white-space: pre-wrap;
}
.calendar-event-view-modal .modal-content .event-details .event-participants h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #334155;
}
.calendar-event-view-modal .modal-content .event-details .event-participants h4 {
  margin: 16px 0 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participants-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #f0f9ff;
  border-radius: 8px;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant.current-user {
  background-color: #f0f9ff;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .participant-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .participant-name {
  font-weight: 500;
  color: #334155;
  font-size: 15px;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .participant-email {
  font-size: 13px;
  color: #64748b;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .organizer-badge {
  font-size: 12px;
  background-color: #4f46e5;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 4px;
  display: inline-block;
  font-weight: 500;
  width: fit-content;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .status {
  font-size: 14px;
  font-weight: 500;
  color: #047857;
  padding: 4px 10px;
  border-radius: 4px;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .status.status-accepted {
  background-color: #ecfdf5;
  color: #047857;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .status.status-tentative {
  background-color: #fffbeb;
  color: #b45309;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .status.status-declined {
  background-color: #fef2f2;
  color: #b91c1c;
}
.calendar-event-view-modal .modal-content .event-details .event-participants .participant .status.status-pending {
  background-color: #f1f5f9;
  color: #475569;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #334155;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section .rsvp-buttons {
  display: flex;
  gap: 12px;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section .rsvp-buttons .rsvp-button {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  background-color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  color: #475569;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section .rsvp-buttons .rsvp-button:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section .rsvp-buttons .rsvp-button.active {
  border-color: #6366f1;
  background-color: #eef2ff;
  color: #4f46e5;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section .rsvp-buttons .rsvp-button:first-child.active {
  border-color: #10b981;
  background-color: #ecfdf5;
  color: #047857;
}
.calendar-event-view-modal .modal-content .event-details .rsvp-section .rsvp-buttons .rsvp-button:last-child.active {
  border-color: #ef4444;
  background-color: #fef2f2;
  color: #b91c1c;
}
.calendar-event-view-modal .delete-confirmation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: 12px;
}
.calendar-event-view-modal .delete-confirmation-dialog {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.calendar-event-view-modal .delete-confirmation-dialog h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}
.calendar-event-view-modal .delete-confirmation-dialog p {
  margin: 0 0 24px 0;
  color: #475569;
  line-height: 1.6;
}
.calendar-event-view-modal .delete-confirmation-dialog .confirmation-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.calendar-event-view-modal .delete-confirmation-dialog .confirmation-buttons button {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.calendar-event-view-modal .delete-confirmation-dialog .confirmation-buttons button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.calendar-event-view-modal .delete-confirmation-dialog .confirmation-buttons .cancel-button {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.calendar-event-view-modal .delete-confirmation-dialog .confirmation-buttons .cancel-button:hover:not(:disabled) {
  background-color: #e2e8f0;
}
.calendar-event-view-modal .delete-confirmation-dialog .confirmation-buttons .delete-confirm-button {
  background-color: #ef4444;
  border: 1px solid #ef4444;
  color: white;
}
.calendar-event-view-modal .delete-confirmation-dialog .confirmation-buttons .delete-confirm-button:hover:not(:disabled) {
  background-color: #dc2626;
}

:root {
  --sidebar-width: 260px;
  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 240 5.3% 26.1%;
  --sidebar-primary: 240 5.9% 10%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 240 4.8% 95.9%;
  --sidebar-accent-foreground: 240 5.9% 10%;
  --sidebar-border: 220 13% 91%;
  --sidebar-ring: 217.2 91.2% 59.8%;
}

.dark {
  --sidebar-background: 240 5.9% 10%;
  --sidebar-foreground: 240 4.8% 95.9%;
  --sidebar-primary: 224.3 76.3% 48%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 240 3.7% 15.9%;
  --sidebar-accent-foreground: 240 4.8% 95.9%;
  --sidebar-border: 240 3.7% 15.9%;
  --sidebar-ring: 217.2 91.2% 59.8%;
}

.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: hsl(var(--sidebar-background));
  border-right: 1px solid hsl(var(--sidebar-border));
  overflow: hidden;
}

.sidebar-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  height: 60px;
  border-bottom: 1px solid hsl(var(--sidebar-border));
}

.sidebar-logo {
  height: 24px;
  cursor: pointer;
}

.sidebar-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--sidebar-border)) transparent;
}
.sidebar-content::-webkit-scrollbar {
  width: 6px;
}
.sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-content::-webkit-scrollbar-thumb {
  background-color: hsl(var(--sidebar-border));
  border-radius: 3px;
}

.compose-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: hsl(var(--sidebar-primary));
  color: hsl(var(--sidebar-primary-foreground));
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  margin-bottom: 0.5rem;
}
.compose-button:hover {
  opacity: 0.9;
}
.compose-button span {
  font-size: 0.875rem;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.sidebar-group-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--sidebar-foreground)/0.7);
  text-transform: uppercase;
  padding: 0 0.5rem;
  margin-bottom: 0.25rem;
}

.sidebar-group-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: hsl(var(--sidebar-foreground));
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.sidebar-link:hover {
  background-color: hsl(var(--sidebar-accent));
}

.sidebar-link-active {
  background-color: hsl(var(--sidebar-accent));
  font-weight: 500;
}
.sidebar-link-active .sidebar-link-icon {
  color: hsl(var(--sidebar-primary));
}

.sidebar-link-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--sidebar-foreground)/0.7);
}

.sidebar-link-text {
  font-size: 0.875rem;
}

.sidebar-link-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.375rem;
  border-radius: 9999px;
  background-color: hsl(var(--sidebar-primary));
  color: hsl(var(--sidebar-primary-foreground));
  font-size: 0.75rem;
  font-weight: 500;
}

.sidebar-footer {
  padding: 0;
  border-top: 1px solid hsl(var(--sidebar-border));
}

.user-profile-widget {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  width: 100%;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  overflow: hidden;
  background-color: hsl(var(--sidebar-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid hsl(var(--sidebar-border));
}

.user-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-initial {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--sidebar-foreground));
}

.user-details {
  overflow: hidden;
  flex: 1;
}

.user-name {
  font-weight: 500;
  font-size: 0.875rem;
  color: hsl(var(--sidebar-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-email {
  font-size: 0.75rem;
  color: hsl(var(--sidebar-foreground)/0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: none;
  background-color: hsl(var(--sidebar-accent));
  color: hsl(var(--sidebar-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}
.logout-button:hover {
  background-color: hsl(var(--sidebar-accent)/0.8);
}
.logout-button span {
  font-size: 0.875rem;
}

.thread-list-widget {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.thread-list-widget .email-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}
.thread-list-widget .email-list-header .mailbox-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}
.thread-list-widget .email-list-header .switch-button {
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2px;
  border-radius: 6px;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.thread-list-widget .email-list-header .switch-button div:hover {
  cursor: pointer;
}
.thread-list-widget .email-list-header .switch-button .all-mail,
.thread-list-widget .email-list-header .switch-button .unread {
  padding: 4px 10px;
  align-items: center;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.875rem;
  color: #6b7280;
  transition: all 0.15s ease;
}
.thread-list-widget .email-list-header .switch-button .all-mail:hover,
.thread-list-widget .email-list-header .switch-button .unread:hover {
  color: #374151;
}
.thread-list-widget .email-list-header .switch-button .all-mail.active,
.thread-list-widget .email-list-header .switch-button .unread.active {
  background-color: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.thread-list-widget .thread-list-items {
  flex: 1;
  overflow-y: auto;
}
.thread-list-widget .thread-list-loading,
.thread-list-widget .thread-list-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  color: #6b7280;
  font-size: 14px;
}
.thread-list-widget .thread-list-load-more {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.thread-list-widget .thread-list-load-more .load-more-button {
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}
.thread-list-widget .thread-list-load-more .load-more-button:hover {
  background-color: #e5e7eb;
}
.thread-list-widget .thread-list-load-more .load-more-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.thread-list-widget .thread-list-item {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.thread-list-widget .thread-list-item:hover {
  background-color: #f9fafb;
}
.thread-list-widget .thread-list-item.selected {
  background-color: #f3f4f6;
  border-left: 2px solid #6366f1;
}
.thread-list-widget .thread-list-item.unread {
  font-weight: 500;
}
.thread-list-widget .thread-list-item.unread .thread-list-item-sender {
  font-weight: 600;
}
.thread-list-widget .thread-list-item .thread-list-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.thread-list-widget .thread-list-item .thread-list-item-content .thread-list-item-sender {
  font-size: 0.875rem;
}
.thread-list-widget .thread-list-item .thread-list-item-content .thread-list-item-date {
  font-size: 0.75rem;
  color: #6b7280;
}
.thread-list-widget .thread-list-item .thread-list-item-preview {
  font-size: 0.8125rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-view-widget {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #6366f1;
  position: relative;
}
.email-view-widget.selected {
  border-color: #6366f1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.email-view-widget.failed-email {
  border-left: 4px solid #ef4444;
}
.email-view-widget::before {
  content: none;
}
.email-view-widget .email-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.email-view-widget .email-header .email-sender-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  padding-right: 1rem;
}
.email-view-widget .email-header .email-sender-info .sender-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.email-view-widget .email-header .email-sender-info .sender-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.email-view-widget .email-header .email-sender-info .sender-details .sender-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #111827;
  margin-bottom: 0.125rem;
}
.email-view-widget .email-header .email-sender-info .sender-details .sender-subject {
  font-size: 0.875rem;
  color: #111827;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
}
.email-view-widget .email-header .email-sender-info .sender-details .sender-email-time {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.email-view-widget .email-header .email-sender-info .sender-details .sender-email-time .sender-email {
  margin-right: 0.5rem;
}
.email-view-widget .email-header .email-sender-info .sender-details .sender-email-time .time-separator {
  margin: 0 0.5rem;
  font-size: 0.75rem;
}
.email-view-widget .email-header .email-sender-info .sender-details .to-email {
  font-size: 0.8125rem;
  color: #6b7280;
}
.email-view-widget .email-header .email-sender-info .sender-details .to-email .to-label {
  font-weight: 500;
  color: #4b5563;
  margin-right: 0.25rem;
}
.email-view-widget .email-content {
  padding: 0 1.5rem;
  margin-top: 0;
}
.email-view-widget .email-content .email-body-widget {
  position: relative;
  max-height: auto;
  overflow: auto;
  padding: 0;
  color: #1f2937;
  line-height: 1.5;
  font-size: 0.9375rem;
  margin-bottom: 0;
}
.email-view-widget .email-content .email-body-widget .email-body-text {
  white-space: pre-wrap;
  word-break: break-word;
}
.email-view-widget .email-content .email-body-widget .email-iframe-container {
  width: 100%;
  overflow: hidden;
}
.email-view-widget .email-content .email-body-widget .email-body-iframe {
  width: 100%;
  min-height: 200px;
  border: none;
  overflow: hidden;
}
.email-view-widget .email-content .email-attachments-widget {
  padding: 0.75rem 0;
  border-top: 1px solid #e5e7eb;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.75rem;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list .email-attachment-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: #f9fafb;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list .email-attachment-item .email-attachment-icon {
  margin-right: 0.5rem;
  color: #6b7280;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list .email-attachment-item .email-attachment-details {
  margin-right: 0.75rem;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list .email-attachment-item .email-attachment-details .email-attachment-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.125rem;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list .email-attachment-item .email-attachment-details .email-attachment-size {
  font-size: 0.75rem;
  color: #6b7280;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list .email-attachment-item .email-attachment-download {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #3b82f6;
  background-color: transparent;
  border: 1px solid #3b82f6;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.email-view-widget .email-content .email-attachments-widget .email-attachments-list .email-attachment-item .email-attachment-download:hover {
  background-color: #eff6ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .email-view-widget .email-header {
    padding: 0.75rem;
    padding-right: 0.5rem;
  }
  .email-view-widget .email-content {
    padding: 0 0.75rem;
  }
  .email-view-widget .email-attachments-widget {
    padding: 0.75rem;
  }
}
.email-actions-widget {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.25rem;
}
.email-actions-widget.email-actions-widget--compact {
  padding: 0;
  background-color: transparent;
  border-bottom: none;
}
.email-actions-widget .actions-column {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
}
.email-actions-widget .action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.25rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  outline: none;
  transition: all 0.15s ease;
}
.email-actions-widget .action-button:hover {
  background-color: #f3f4f6;
  color: #374151;
}
.email-actions-widget .action-button:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.email-actions-widget .action-button svg {
  width: 18px;
  height: 18px;
}
.email-actions-widget .action-menu-container {
  position: relative;
}
.email-actions-widget .action-menu-container .action-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  width: 180px;
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 50;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  padding: 0.25rem;
}
.email-actions-widget .action-menu-container .action-menu .action-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  text-align: left;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s ease;
  margin-bottom: 0.125rem;
  justify-content: flex-start;
}
.email-actions-widget .action-menu-container .action-menu .action-menu-item:last-child {
  margin-bottom: 0;
}
.email-actions-widget .action-menu-container .action-menu .action-menu-item:hover {
  background-color: #f3f4f6;
}
.email-actions-widget .action-menu-container .action-menu .action-menu-item svg {
  margin-right: 0.75rem;
  color: #6b7280;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.email-actions-widget .action-menu-container .action-menu .action-menu-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .email-actions-widget .action-button {
    width: 1.75rem;
    height: 1.75rem;
  }
  .email-actions-widget .action-button svg {
    width: 16px;
    height: 16px;
  }
}
.thread-message-list-widget {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.thread-message-list-widget.thread-message-list-widget--empty, .thread-message-list-widget.thread-message-list-widget--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.thread-message-list-widget.thread-message-list-widget--empty .empty-message,
.thread-message-list-widget.thread-message-list-widget--empty .loading-message, .thread-message-list-widget.thread-message-list-widget--loading .empty-message,
.thread-message-list-widget.thread-message-list-widget--loading .loading-message {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  padding: 2rem;
}
.thread-message-list-widget .thread-message-list-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}
.thread-message-list-widget .thread-message-list-widget-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}
.thread-message-list-widget .thread-message-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background-color: #fff;
}
.thread-message-list-widget .thread-message-list .thread-message-list-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6b7280;
  font-size: 0.875rem;
}

.thread-message-item {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: all 0.15s ease;
  cursor: pointer;
}
.thread-message-item:last-child {
  margin-bottom: 0;
}
.thread-message-item.selected {
  background-color: var(--selected-bg, rgba(0, 0, 0, 0.03));
  border-left: 2px solid var(--primary-color, #6366f1);
}
.thread-message-item:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.thread-message-item .email-view-widget {
  margin: 0;
  border: none;
}

.thread-actions-widget {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.thread-actions-widget .actions-group {
  display: flex;
  gap: 0.25rem;
}
.thread-actions-widget .action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.25rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  outline: none;
  transition: all 0.15s ease;
}
.thread-actions-widget .action-button:hover {
  background-color: #f3f4f6;
  color: #374151;
}
.thread-actions-widget .action-button:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.thread-actions-widget .action-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thread-actions-widget .action-button .text-yellow-500 {
  color: #f59e0b;
}
.thread-actions-widget .action-button .text-gray-400 {
  color: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .thread-actions-widget .action-button {
    width: 1.75rem;
    height: 1.75rem;
  }
  .thread-actions-widget .action-button svg {
    width: 16px;
    height: 16px;
  }
}
.email-portal-layout {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.email-portal-container {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.email-sidebar-column {
  width: 250px;
  min-width: 250px;
  height: 100%;
  overflow-y: auto;
  border-right: 1px solid var(--border-color, #e0e0e0);
}

.email-content-columns {
  display: flex;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.email-thread-list-column {
  width: 350px;
  min-width: 300px;
  max-width: 400px;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--border-color, #e0e0e0);
  display: flex;
  flex-direction: column;
}

.email-thread-messages-column {
  flex: 1;
  height: 100%;
  overflow: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #f9fafb;
}
.email-thread-messages-column .thread-message-list-widget {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.email-thread-messages-column .thread-message-list-widget .thread-message-list-widget-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #fff;
}
.email-thread-messages-column .thread-message-list-widget .thread-message-list-widget-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
}
.email-thread-messages-column .thread-message-list-widget .thread-message-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

/* Keyboard shortcuts panel */
.keyboard-shortcuts-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: 90vw;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 10px 38px -10px rgba(22, 23, 24, 0.35), 0 10px 20px -15px rgba(22, 23, 24, 0.2);
  z-index: 1000;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.keyboard-shortcuts-panel .shortcuts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.keyboard-shortcuts-panel .shortcuts-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}
.keyboard-shortcuts-panel .shortcuts-header .close-shortcuts-button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.keyboard-shortcuts-panel .shortcuts-header .close-shortcuts-button:hover {
  background-color: #e5e7eb;
  color: #111827;
}
.keyboard-shortcuts-panel .shortcuts-header .close-shortcuts-button:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}
.keyboard-shortcuts-panel .shortcuts-list {
  padding: 12px 16px;
  max-height: 70vh;
  overflow-y: auto;
}
.keyboard-shortcuts-panel .shortcuts-list h4 {
  margin: 12px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.keyboard-shortcuts-panel .shortcuts-list h4:first-child {
  margin-top: 0;
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item:last-child {
  margin-bottom: 0;
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item .shortcut-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background-color: #f3f4f6;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  margin-right: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 0 6px;
  color: #111827;
}
.keyboard-shortcuts-panel .shortcuts-list .shortcut-item .shortcut-description {
  font-size: 14px;
  color: #6b7280;
  margin-left: 8px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .email-thread-list-column {
    width: 300px;
    min-width: 250px;
  }
}
@media (max-width: 992px) {
  .email-content-columns {
    flex-direction: column;
  }
  .email-thread-list-column {
    width: 100%;
    max-width: 100%;
    height: 300px;
    min-height: 250px;
    max-height: 350px;
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
  }
  .email-thread-messages-column {
    flex: 1;
    height: calc(100% - 300px);
  }
}
@media (max-width: 768px) {
  .email-portal-container {
    flex-direction: column;
  }
  .email-sidebar-column {
    width: 100%;
    height: auto;
    min-height: 60px;
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
  }
  .email-content-columns {
    height: calc(100% - 60px);
  }
}
.html-renderer {
  width: 100%;
}
.html-renderer .html-content {
  width: 100%;
  overflow: auto;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #333;
}
.html-renderer .html-content p {
  font-weight: 400;
}
.html-renderer .html-content a {
  color: #3b82f6;
  text-decoration: underline;
}
.html-renderer .html-content img {
  max-width: 100%;
  height: auto;
}
.html-renderer .html-content table {
  border-collapse: collapse;
  max-width: 100%;
}
.html-renderer .html-content td,
.html-renderer .html-content th {
  padding: 4px 8px;
}

.email-iframe-container {
  width: 100%;
  overflow: auto;
  max-height: 400px;
  border-radius: 0.375rem;
  margin-bottom: 0;
}

.email-reply-widget {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.email-reply-widget .email-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}
.email-reply-widget .email-reply-header .reply-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.email-reply-widget .email-reply-header .reply-info .reply-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
}
.email-reply-widget .email-reply-header .reply-info .reply-to {
  font-size: 0.875rem;
  color: #6b7280;
}
.email-reply-widget .email-reply-header .reply-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.email-reply-widget .email-reply-header .reply-actions .reply-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.25rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  outline: none;
  transition: all 0.15s ease;
}
.email-reply-widget .email-reply-header .reply-actions .reply-action-button:hover {
  background-color: #f3f4f6;
  color: #374151;
}
.email-reply-widget .email-reply-header .reply-actions .reply-action-button:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.email-reply-widget .email-reply-header .reply-actions .reply-action-button svg {
  width: 18px;
  height: 18px;
}
.email-reply-widget .email-reply-content {
  padding: 1rem;
  min-height: 200px;
}
.email-reply-widget .email-reply-content .html-editor-container .quill-editor {
  min-height: 150px;
  max-height: 300px;
}
.email-reply-widget .email-reply-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
  background-color: #f9fafb;
}
.email-reply-widget .email-reply-footer .reply-send-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.email-reply-widget .email-reply-footer .reply-send-button:hover {
  background-color: #2563eb;
}
.email-reply-widget .email-reply-footer .reply-send-button:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.email-reply-widget .email-reply-footer .reply-send-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.email-reply-widget .email-reply-footer .reply-send-button.sending {
  background-color: #6b7280;
}
.email-reply-widget .email-reply-footer .reply-send-button svg {
  width: 16px;
  height: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .email-reply-widget .email-reply-header {
    padding: 0.5rem 0.75rem;
  }
  .email-reply-widget .email-reply-header .reply-info {
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .email-reply-widget .email-reply-content {
    padding: 0.75rem;
  }
  .email-reply-widget .email-reply-footer {
    padding: 0.5rem 0.75rem;
  }
}
.failed-email-indicator {
  margin-left: 0.5rem;
  color: #ef4444;
  cursor: pointer;
  position: relative;
}
.failed-email-indicator .failure-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.failed-email-indicator .failure-tooltip {
  position: absolute;
  top: calc(100% + 5px);
  left: -5px;
  z-index: 10;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  width: 380px;
  font-size: 0.875rem;
  color: #374151;
  overflow: hidden;
}
.failed-email-indicator .failure-tooltip .failure-tooltip-header {
  background-color: #fef2f2;
  padding: 0.75rem;
  border-bottom: 1px solid #fee2e2;
}
.failed-email-indicator .failure-tooltip .failure-tooltip-header .failure-tooltip-title {
  font-weight: 600;
  color: #b91c1c;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}
.failed-email-indicator .failure-tooltip .failure-reason {
  padding: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
}
.failed-email-indicator .failure-tooltip .failure-reason .section-title {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #4b5563;
  margin-bottom: 0.25rem;
  letter-spacing: 0.025em;
}
.failed-email-indicator .failure-tooltip .failure-reason .section-content {
  color: #111827;
  line-height: 1.4;
}
.failed-email-indicator .failure-tooltip .failure-details {
  padding: 0.75rem;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group {
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  background-color: #f9fafb;
  overflow: hidden;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group:last-child {
  margin-bottom: 0;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group.failure-group-internal {
  border: 1px solid #dbeafe;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group.failure-group-internal .failure-group-header {
  background-color: #eff6ff;
  border-bottom: 1px solid #dbeafe;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group.failure-group-internal .failure-group-header .recipient-type-badge {
  background-color: #3b82f6;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group.failure-group-external {
  border: 1px solid #fef3c7;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group.failure-group-external .failure-group-header {
  background-color: #fffbeb;
  border-bottom: 1px solid #fef3c7;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group.failure-group-external .failure-group-header .recipient-type-badge {
  background-color: #f59e0b;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-header {
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-header .recipient-type-badge {
  color: white;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  margin-right: 0.5rem;
  letter-spacing: 0.05em;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-header .recipient-type-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1f2937;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-reason {
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.4;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-recipients {
  margin: 0;
  padding: 0;
  list-style: none;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-recipients li {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-recipients li:last-child {
  border-bottom: none;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-recipients li:before {
  content: "•";
  color: #9ca3af;
  margin-right: 0.5rem;
}
.failed-email-indicator .failure-tooltip .failure-details .failure-group .failure-group-recipients li .recipient-email {
  font-family: monospace;
  font-size: 0.8125rem;
  color: #4b5563;
}
.failed-email-indicator .failure-tooltip .failure-tooltip-footer {
  padding: 0.6rem 0.75rem;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.75rem;
  text-align: center;
}

/* Lucide React Icons Styling */
svg[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Color classes for icons */
.text-yellow-500 {
  color: #f59e0b !important;
}

.text-gray-400 {
  color: #9ca3af !important;
}

/* Ensure icons in buttons are visible */
button svg,
.action-button svg {
  color: inherit;
  width: 18px;
  height: 18px;
}

/* geist-sans-latin-100-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-100-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-100-normal.woff) format("woff");
}
/* geist-sans-latin-200-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-200-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-200-normal.woff) format("woff");
}
/* geist-sans-latin-300-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-300-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-300-normal.woff) format("woff");
}
/* geist-sans-latin-400-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-400-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-400-normal.woff) format("woff");
}
/* geist-sans-latin-500-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-500-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-500-normal.woff) format("woff");
}
/* geist-sans-latin-600-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-600-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-600-normal.woff) format("woff");
}
/* geist-sans-latin-700-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-700-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-700-normal.woff) format("woff");
}
/* geist-sans-latin-800-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-800-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-800-normal.woff) format("woff");
}
/* geist-sans-latin-900-normal */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-900-normal.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@latest/latin-900-normal.woff) format("woff");
}
:root {
  --elphe-orange: #fc7e08;
  --elphe-green: #107514;
  --font-geist-sans: "Geist Sans";
  --font: var(--font-geist-sans);
  --button-font: var(--font-geist-sans);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  overscroll-behavior-y: none;
  font-size: 0.85rem;
  font-weight: 300;
  margin: 0px;
  max-height: 100vh;
}

* {
  box-sizing: border-box;
}

.nav-bar .logo img {
  height: 20px;
}

.richtext-editor {
  padding: 20px;
  border: 1px solid grey;
  border-radius: 5px;
}