/* ==========================================================
   ADVEREAL COMPONENTS
   Buttons, Badges, Modals, Forms, Tables, Cards, Toast
   Full Rounded / Pill Design System
   ========================================================== */

/* Buttons - Full Rounded Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-full) !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none !important;
  white-space: nowrap;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.btn:focus,
.btn:focus-visible,
.btn:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.btn:disabled, .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--bg-hover);
  border-color: #CCCCCC;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-dark);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--primary);
  color: var(--text-inverse);
}

.btn-sm {
  padding: 5px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 1rem;
}

.btn-danger-outline {
  background: transparent;
  color: #333333;
  border-color: var(--border-color);
}
.btn-danger-outline:hover:not(:disabled) {
  background: #222222;
  color: #FFFFFF;
}

.btn-danger {
  background-color: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}
.btn-danger:hover:not(:disabled) {
  background-color: #B91C1C;
  border-color: #B91C1C;
}

.btn-danger-subtle {
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}
.btn-danger-subtle:hover:not(:disabled) {
  background-color: #FEE2E2;
  color: #B91C1C;
  border-color: #FCA5A5;
}

/* Compact Row Action Buttons & Group */
.row-actions-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
}

.btn-action-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #E5E7EB);
  color: #4B5563;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  flex-shrink: 0;
  box-sizing: border-box;
}

.btn-action-icon:hover {
  background-color: #F3F4F6;
  border-color: #9CA3AF;
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-action-icon:active {
  transform: translateY(0);
}

.btn-action-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  pointer-events: none;
}

.btn-action-text {
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #E5E7EB);
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

.btn-action-text:hover {
  background-color: #F3F4F6;
  border-color: #9CA3AF;
  color: #111827;
  transform: translateY(-1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-action-text:active {
  transform: translateY(0);
}

.btn-action-danger {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #E5E7EB);
  color: #9CA3AF;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  font-size: 0.8rem;
  line-height: 1;
  transition: all 0.15s ease-in-out;
}

.btn-action-danger:hover {
  background-color: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
  transform: translateY(-1px);
}

.badge-task-synced {
  height: 28px;
  padding: 0 10px;
  background: #111111;
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  letter-spacing: 0.02em;
}

.task-date-cell-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 28px;
  box-sizing: border-box;
}

.badge-task-date-pill {
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  height: 28px;
  padding: 0;
  background-color: #F8FAFC;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid #CBD5E1;
  transition: all 0.15s ease-in-out;
}

.badge-task-date-pill:hover,
.task-date-cell-wrap:hover .badge-task-date-pill {
  background-color: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
  transform: translateY(-1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.task-date-hidden-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  border-radius: 9999px;
}

.btn-cal-task-add {
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  height: 28px;
  padding: 0;
  font-weight: 600;
  color: #475569;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  font-size: 0.76rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  letter-spacing: 0.01em;
  transition: all 0.15s ease-in-out;
}

.btn-cal-task-add:hover {
  background-color: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
  transform: translateY(-1px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-cal-task-add:active,
.badge-task-date-pill:active {
  transform: translateY(0);
}

/* Cards - Smooth Rounded Corners */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

/* Status Badges - Fully Rounded Pills */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Not Started → light grey */
.badge-not-started {
  background-color: #EAEAEA;
  color: #555555;
  border: 1px solid #DCDCDC;
}

/* In Progress → medium grey */
.badge-in-progress {
  background-color: #D4D4D4;
  color: #222222;
  border: 1px solid #C4C4C4;
}

/* Approval → dark grey */
.badge-approval, .badge-tl-approval, .badge-client-approval {
  background-color: #4A4A4A;
  color: #FFFFFF;
  border: 1px solid #333333;
}

/* Scheduling → outlined black */
.badge-scheduling {
  background-color: #FFFFFF;
  color: #111111;
  border: 1.5px solid #111111;
  font-weight: 600;
}

/* Scheduled / Done / Approved → solid black */
.badge-scheduled, .badge-done, .badge-approved, .badge-completed {
  background-color: #111111;
  color: #FFFFFF;
  border: 1px solid #111111;
}

/* Rejected / On Hold / Changes Required */
.badge-rejected, .badge-changes, .badge-on-hold, .badge-cancelled {
  background-color: #F0F0F0;
  color: #777777;
  border: 1px dashed #AAAAAA;
}

/* Post Type Badge (Dark & distinct from statuses) */
.badge-post-type {
  background-color: #222222 !important;
  color: #FFFFFF !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  border: 1px solid #111111 !important;
}

/* No Post / Skip Date Badge */
.badge-no-post {
  background-color: #EFEFEF;
  color: #888888;
  border: 1px dashed #CCCCCC;
}

/* Skipped / Off Day Calendar Row - Very Light Subtle Color */
.cal-row-skipped {
  opacity: 0.32 !important;
  background-color: #FAFAFA !important;
  color: #999999 !important;
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
}

.cal-row-skipped:hover {
  opacity: 0.88 !important;
  background-color: #F5F5F5 !important;
}

.cal-row-skipped td {
  color: #888888 !important;
  border-bottom: 1px dashed #EEEEEE !important;
}

/* Form Controls - Pill-Shaped Inputs & Selects, Rounded Textareas */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
  padding-left: 4px;
}

.form-control {
  width: 100%;
  padding: 9px 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

select.form-control {
  border-radius: var(--radius-full);
  padding-right: 32px;
}

textarea.form-control {
  border-radius: var(--radius-md) !important;
  padding: 12px 16px;
  min-height: 80px;
  resize: vertical;
}

.form-row {
  display: flex;
  gap: 16px;
}
.form-row > * {
  flex: 1;
}

/* Tables - Rounded Box Container */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.table th {
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
}

.table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  vertical-align: middle;
}

.table tbody tr:hover {
  background-color: var(--bg-subtle);
}

/* Date Grouping Row Separator */
.date-group-divider {
  background-color: #EFEFEF !important;
}

.date-group-divider td {
  padding: 12px 18px !important;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  border-top: 1px solid #DBDBDB;
  border-bottom: 1px solid #DBDBDB;
}

/* Modals - Rounded Corners */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 16px;
  backdrop-filter: blur(2px);
}

.modal-backdrop.show {
  display: flex;
}

.modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl) !important;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.2s ease;
  overflow: hidden;
}

.modal-card.modal-lg {
  max-width: 850px;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close {
  background: #F0F0F0;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #111111;
  color: #FFFFFF;
}

.modal-card > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background-color: var(--bg-subtle);
  flex-shrink: 0;
}

/* Toast Notifications - Pill Shape */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
}

.toast {
  background-color: var(--primary);
  color: var(--text-inverse);
  padding: 12px 24px;
  border-radius: var(--radius-full) !important;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  animation: toastIn 0.25s forwards;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@keyframes toastIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Tab Switcher - Rounded Pill Tabs */
.tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: none;
  margin-bottom: 20px;
  background-color: #EAEAEA;
  padding: 4px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.tab-item {
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--transition-fast);
}

.tab-item:hover {
  color: var(--text-primary);
}

.tab-item.active {
  color: #FFFFFF;
  background-color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.empty-state-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Quick To-Do Header Widget & Popover */
.header-todo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-header-todo {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #E5E7EB);
  color: #111111;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-header-todo:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-header-todo.active {
  background-color: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.btn-header-todo.active svg {
  stroke: #FFFFFF;
}

.header-todo-badge {
  background-color: #111111;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0 5px;
  border-radius: 9999px;
  display: inline-block;
}

.btn-header-todo.active .header-todo-badge {
  background-color: #FFFFFF;
  color: #111111;
}

/* Popover Dropdown Card */
.header-todo-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 370px;
  max-width: 92vw;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 6px 12px -2px rgba(0, 0, 0, 0.06);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.todo-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background-color: #FAFAFA;
  border-bottom: 1px solid #F1F5F9;
}

.badge-todo-count {
  background-color: #F1F5F9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
}

.btn-todo-header-action {
  background: transparent;
  border: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
}

.btn-todo-header-action:hover {
  background-color: #E2E8F0;
  color: #0F172A;
}

.btn-todo-close {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1;
}

.btn-todo-close:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

.todo-add-form {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;
  border-bottom: 1px solid #F1F5F9;
  background: #FFFFFF;
}

.todo-input {
  flex: 1;
  height: 32px;
  padding: 0 10px;
  font-size: 0.84rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background-color: #F8FAFC;
  color: #1E293B;
  outline: none;
  transition: all 0.15s ease;
}

.todo-input:focus {
  background-color: #FFFFFF;
  border-color: #111111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.btn-todo-add {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-todo-add:hover {
  background: #333333;
}

.todo-list-scrollable {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 10px;
}

.todo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: 8px;
  transition: background-color 0.12s;
  gap: 10px;
}

.todo-item:hover {
  background-color: #F8FAFC;
}

.todo-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.todo-checkbox {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: #111111;
  flex-shrink: 0;
  border-radius: 4px;
}

.todo-title {
  font-size: 0.84rem;
  color: #1E293B;
  word-break: break-word;
  line-height: 1.35;
  transition: all 0.2s ease;
}

.todo-item.completed .todo-title {
  text-decoration: line-through;
  color: #94A3B8;
}

.btn-todo-item-del {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #CBD5E1;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.8rem;
  line-height: 1;
  transition: all 0.15s;
  opacity: 0;
  flex-shrink: 0;
}

.todo-item:hover .btn-todo-item-del {
  opacity: 1;
}

.btn-todo-item-del:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.todo-empty-state {
  padding: 24px 16px;
  text-align: center;
  color: #94A3B8;
  font-size: 0.82rem;
}

.todo-completed-section {
  border-top: 1px dashed #E2E8F0;
  background-color: #FAFAFA;
}

.todo-completed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #F8FAFC;
}

.btn-todo-clear {
  background: transparent;
  border: none;
  font-size: 0.72rem;
  color: #DC2626;
  cursor: pointer;
  font-weight: 500;
  padding: 2px 4px;
}

.btn-todo-clear:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Header Team Call Widget & Real-Time Incoming Voice Alert
   ========================================================================== */
.header-call-wrapper {
  position: relative;
}

.btn-header-call {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px !important;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #111111;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
}

.btn-header-call:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.btn-header-call.active {
  background-color: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.btn-header-call.active svg {
  stroke: #FFFFFF;
}

.btn-header-call.is-calling {
  background-color: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
  animation: callBtnPulse 1.8s infinite;
}

.btn-header-call.is-calling svg {
  stroke: #FFFFFF;
}

@keyframes callBtnPulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.call-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #10B981;
  animation: callDotPulse 1.6s infinite;
  flex-shrink: 0;
}

.btn-header-call.is-calling .call-pulse-dot {
  background-color: #FFFFFF;
}

@keyframes callDotPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.header-call-status-badge {
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  height: 18px;
  line-height: 18px;
  padding: 0 6px;
  border-radius: 9999px !important;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.header-call-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: 92vw;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 6px 14px -2px rgba(0, 0, 0, 0.05);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.call-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  background: #FAFAFA;
}

.badge-call-online-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 9999px !important;
  background: #111111;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
}

.btn-call-refresh {
  border-radius: 9999px !important;
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-call-refresh:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.btn-call-close {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  font-size: 0.85rem;
  color: #64748B;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 9999px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-call-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.call-outgoing-banner {
  padding: 10px 14px;
  background: #FEF2F2;
  border-bottom: 1px solid #FCA5A5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.call-calling-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #DC2626;
  animation: callDotPulse 1s infinite;
  flex-shrink: 0;
}

.call-outgoing-title {
  font-size: 0.82rem;
  color: #991B1B;
  line-height: 1.2;
}

.call-outgoing-sub {
  font-size: 0.72rem;
  color: #B91C1C;
  line-height: 1.2;
}

.btn-cancel-outgoing-call {
  background: #DC2626;
  color: #FFFFFF;
  border: none;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px !important;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-cancel-outgoing-call:hover {
  background: #B91C1C;
}

.call-popover-search {
  padding: 8px 12px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
}

.call-popover-search svg {
  color: #94A3B8;
  flex-shrink: 0;
}

.call-popover-search input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.82rem;
  outline: none;
  color: #0F172A;
}

.call-popover-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.call-employees-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.call-employee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #F1F5F9;
  background: #FFFFFF;
  transition: all 0.15s ease;
}

.call-employee-row:hover {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.call-emp-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.call-emp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9999px !important;
  background: #111111;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.call-emp-online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #10B981;
  border: 2px solid #FFFFFF;
}

.call-emp-offline-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #94A3B8;
  border: 2px solid #FFFFFF;
}

.call-emp-info {
  flex: 1;
  min-width: 0;
}

.call-emp-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.call-emp-meta {
  font-size: 0.72rem;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.btn-emp-call-action {
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px !important;
  background: #111111;
  color: #FFFFFF;
  border: none;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-emp-call-action:hover {
  background: #334155;
  transform: translateY(-1px);
}

.btn-emp-call-action.is-calling {
  background: #DC2626;
  color: #FFFFFF;
}

.btn-emp-call-action.is-calling:hover {
  background: #B91C1C;
}

.badge-self-emp {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
  padding: 4px 8px;
}

/* ==========================================================================
   Incoming Voice Call Modal Overlay
   ========================================================================== */
.incoming-call-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: callOverlayFadeIn 0.25s ease-out;
}

@keyframes callOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.incoming-call-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.incoming-call-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 440px;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  animation: callCardBounce 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes callCardBounce {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.incoming-call-ripple-wrapper {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.incoming-call-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  animation: phoneRingWiggle 1.4s ease-in-out infinite;
}

@keyframes phoneRingWiggle {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-12deg); }
  20%, 40% { transform: rotate(12deg); }
  50% { transform: rotate(0deg); }
}

.incoming-call-ripple {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  border: 2px solid rgba(17, 17, 17, 0.35);
  animation: callRipplePulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

.incoming-call-ripple.r1 { animation-delay: 0s; }
.incoming-call-ripple.r2 { animation-delay: 0.65s; }
.incoming-call-ripple.r3 { animation-delay: 1.3s; }

@keyframes callRipplePulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.incoming-call-details {
  margin-bottom: 24px;
}

.incoming-call-tag {
  display: inline-block;
  background: #F1F5F9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.incoming-call-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.incoming-call-sub {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
}

.incoming-call-actions {
  width: 100%;
}

.btn-incoming-call-answer {
  width: 100%;
  height: 48px;
  border-radius: 9999px !important;
  background: #111111;
  color: #FFFFFF;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease;
}

.btn-incoming-call-answer:hover {
  background: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   Task Timer Inactivity Alert Modal Overlay
   ========================================================================== */
.task-timer-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: callOverlayFadeIn 0.25s ease-out;
}

.task-timer-alert-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.task-timer-alert-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 420px;
  padding: 34px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  animation: callCardBounce 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.task-timer-alert-icon-wrapper {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.task-timer-alert-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  animation: timerIconPulse 2s ease-in-out infinite;
}

@keyframes timerIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.task-timer-alert-ripple {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 9999px;
  border: 2px solid rgba(245, 158, 11, 0.4);
  animation: callRipplePulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

.task-timer-alert-ripple.r1 { animation-delay: 0s; }
.task-timer-alert-ripple.r2 { animation-delay: 0.8s; }

.task-timer-alert-details {
  margin-bottom: 22px;
}

.task-timer-alert-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #B45309;
  background: #FEF3C7;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.task-timer-alert-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.task-timer-alert-sub {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

.task-timer-alert-actions {
  width: 100%;
}

.btn-task-timer-start {
  width: 100%;
  height: 48px;
  border-radius: 9999px !important;
  background: #0F172A;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  transition: all 0.15s ease;
}

.btn-task-timer-start:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

.task-timer-hold-section {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.task-timer-hold-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.task-timer-hold-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-task-timer-hold {
  flex: 1;
  height: 38px;
  border-radius: 10px !important;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-task-timer-hold:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

/* ==========================================================================
   Header Team Timers Popover Widget
   ========================================================================== */
.header-team-timers-wrapper {
  position: relative;
}

.btn-header-team-timers {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px !important;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #111111;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
}

.btn-header-team-timers:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.btn-header-team-timers.active {
  background-color: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.btn-header-team-timers.active svg {
  stroke: #FFFFFF;
}

.team-timer-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #111111;
  box-shadow: 0 0 0 rgba(17, 17, 17, 0.3);
  animation: timerPulseMono 1.8s infinite;
  flex-shrink: 0;
}

.btn-header-team-timers.active .team-timer-pulse-dot {
  background-color: #FFFFFF;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
}

@keyframes timerPulseMono {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(17, 17, 17, 0.5); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(17, 17, 17, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(17, 17, 17, 0); }
}

.header-team-timers-badge {
  background-color: #111111;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0 5px;
  border-radius: 9999px !important;
  display: inline-block;
}

.btn-header-team-timers.active .header-team-timers-badge {
  background-color: #FFFFFF;
  color: #111111;
}

/* Popover Dropdown Card for Team Timers - Black, Grey & White */
.header-team-timers-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: 92vw;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 6px 14px -2px rgba(0, 0, 0, 0.05);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-timers-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  background: #FAFAFA;
}

.badge-active-timers-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 9999px !important;
  background: #111111;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
}

.btn-team-timers-refresh {
  border-radius: 9999px !important;
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-team-timers-refresh:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.btn-team-timers-close {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  font-size: 0.85rem;
  color: #64748B;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 9999px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
}

.btn-team-timers-close:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

.team-timers-popover-body {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
  background: #FFFFFF;
}

.team-timers-empty-state {
  text-align: center;
  padding: 32px 16px;
  background: #FFFFFF;
}

.team-timers-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 9999px !important;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.team-timers-empty-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #111111;
}

.team-timers-empty-desc {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 3px;
}

.team-timers-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-timer-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px !important;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  transition: all 0.15s ease;
}

.team-timer-card-row:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.team-timer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px !important;
  background: #111111;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
  border: 1px solid #111111;
}

.team-timer-info {
  flex: 1;
  min-width: 0;
}

.team-timer-emp-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.team-timer-emp-dept {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.2;
  margin-top: 2px;
}

.team-timer-task-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.team-timer-client-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #111111;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 2px 8px;
  border-radius: 9999px !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.team-timer-task-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.team-timer-right-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.team-timer-live-clock {
  font-size: 0.8rem;
  font-weight: 700;
  color: #111111;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 3px 10px;
  border-radius: 9999px !important;
  line-height: 1.2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.team-timer-stop-btn {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 4px 14px !important;
  border-radius: 9999px !important;
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 1px solid #111111 !important;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.team-timer-stop-btn:hover {
  background: #334155 !important;
  color: #FFFFFF !important;
  border-color: #334155 !important;
  transform: translateY(-1px);
}


/* ====================================================
   Notifications Center Header Widget & Popover
   ==================================================== */
/* ====================================================
   Notifications Center Header Widget & Popover
   Strict Monochromatic (Black, White & Gray) with Rounded Boxes
   ==================================================== */
.header-notification-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-header-notification {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color, #E5E7EB);
  color: #0F172A;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-header-notification:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-header-notification.active {
  background-color: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.btn-header-notification.active svg {
  stroke: #FFFFFF;
}

.header-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #0F172A;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  text-align: center;
  padding: 0 4px;
  border-radius: 9999px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.header-notification-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 400px;
  max-width: 92vw;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.14), 0 6px 14px -2px rgba(0, 0, 0, 0.06);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
}

.badge-notif-unread {
  background-color: #0F172A;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.btn-notif-header-action {
  background: transparent;
  border: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.btn-notif-header-action:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

.btn-notif-close {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1;
}

.btn-notif-close:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

.notification-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  overflow-x: auto;
  scrollbar-width: none;
}

.notification-filter-tabs::-webkit-scrollbar {
  display: none;
}

.notif-tab {
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 600;
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.notif-tab:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.notif-tab.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.notification-list-scrollable {
  max-height: 380px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 14px;
  background-color: #F8FAFC;
}

/* Individual Rounded Box Notification Item */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.notif-item:last-child {
  margin-bottom: 0;
}

.notif-item:hover {
  background-color: #FFFFFF;
  border-color: #94A3B8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.notif-item.unread {
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.notif-icon-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #0F172A;
}

.notif-icon-avatar svg {
  stroke: #0F172A;
}

.notif-icon-task,
.notif-icon-lead,
.notif-icon-hr,
.notif-icon-festival,
.notif-icon-review,
.notif-icon-system {
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #0F172A;
}

.notif-content {
  flex: 1;
  min-width: 0;
}

.notif-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.notif-title {
  font-weight: 600;
  font-size: 0.83rem;
  color: #0F172A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notif-time {
  font-size: 0.68rem;
  color: #94A3B8;
  white-space: nowrap;
  flex-shrink: 0;
}

.notif-message {
  font-size: 0.76rem;
  color: #64748B;
  line-height: 1.45;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.notif-action-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0F172A;
  background: #F1F5F9;
  padding: 3px 10px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #E2E8F0;
  transition: all 0.15s ease;
}

.notif-action-link:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.notif-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.notif-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0F172A;
}

.btn-notif-item-action {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
  cursor: pointer;
  border-radius: 9999px;
  font-size: 0.72rem;
  transition: all 0.15s;
  opacity: 0;
}

.notif-item:hover .btn-notif-item-action {
  opacity: 1;
}

.btn-notif-item-action:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.notif-empty-state {
  padding: 36px 20px;
  text-align: center;
  color: #94A3B8;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}

.notif-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  margin-bottom: 10px;
  color: #64748B;
}

.notif-empty-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F172A;
}

.notif-empty-desc {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 4px;
}

.notification-popover-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 16px;
  background-color: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}

.btn-notif-footer-action {
  background: transparent;
  border: none;
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748B;
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.15s;
}

.btn-notif-footer-action:hover {
  color: #0F172A;
  text-decoration: underline;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.switch input:checked + .slider {
  background-color: #111111;
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* Sound Option Cards */
.sound-preset-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sound-preset-card:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}
.sound-preset-card.active {
  border-color: #111111;
  background: #F8FAFC;
  box-shadow: 0 0 0 1px #111111;
}
.sound-preset-card .preset-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sound-preset-card .preset-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #F1F5F9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.sound-preset-card:hover .preset-icon {
  background: #E2E8F0;
  color: #0F172A;
}
.sound-preset-card.active .preset-icon {
  background: #111111;
  color: #FFFFFF;
}
.sound-preset-card .preset-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
}
.sound-preset-card .preset-desc {
  font-size: 0.74rem;
  color: #64748B;
}
.btn-sound-preview {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  font-size: 0.8rem;
  transition: all 0.15s;
  flex-shrink: 0;
}
.btn-sound-preview:hover {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

/* =========================================================================
   App Universal Date Picker Popover (Theme-matched with Rounded Corners)
   ========================================================================= */
.app-datepicker-popup {
  position: absolute;
  z-index: 99999;
  width: 290px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.16), 0 6px 14px -2px rgba(15, 23, 42, 0.08);
  padding: 14px;
  box-sizing: border-box;
  font-family: inherit;
  user-select: none;
  animation: adpFadeIn 0.14s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adpFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.adp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}

.adp-month-year {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.adp-nav-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.adp-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.adp-nav-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
}

.adp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 6px;
}

.adp-weekday {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
}

.adp-weekday.adp-sun {
  color: #DC2626 !important;
}

.adp-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 10px;
}

.adp-day {
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.80rem;
  font-weight: 500;
  color: #1E293B;
  cursor: pointer;
  position: relative;
  transition: all 0.12s ease;
  user-select: none;
}

.adp-day:hover:not(.adp-day-other-month):not(.adp-selected) {
  background-color: #F1F5F9;
  color: #0F172A;
}

/* Sunday in Red */
.adp-day.adp-sunday .adp-day-num {
  color: #DC2626 !important;
  font-weight: 700;
}

/* Company Holiday in Red with subtle background & dot */
.adp-day.adp-holiday {
  background-color: #FEF2F2;
}

.adp-day.adp-holiday .adp-day-num {
  color: #DC2626 !important;
  font-weight: 800;
}

.adp-holiday-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #DC2626;
  position: absolute;
  bottom: 2px;
}

/* Selected Date */
.adp-day.adp-selected {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.adp-day.adp-selected .adp-day-num {
  color: #FFFFFF !important;
}

.adp-day.adp-selected .adp-holiday-dot {
  background-color: #EF4444;
}

/* Today Outline (if not selected) */
.adp-day.adp-today:not(.adp-selected) {
  border: 1.5px solid #0F172A;
  font-weight: 700;
}

/* Other month filler days */
.adp-day.adp-day-other-month {
  color: #CBD5E1;
  opacity: 0.45;
  cursor: default;
}

.adp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 8px;
}

.adp-footer-btn {
  background: none;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.adp-clear-btn {
  color: #64748B;
}

.adp-clear-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.adp-today-btn {
  color: #0F172A;
}

.adp-today-btn:hover {
  background: #F1F5F9;
  color: #000000;
}

/* ==========================================================================
   Custom Multi-Select Filter Component (Theme Styled with Checkboxes)
   ========================================================================== */
.custom-multiselect-wrap {
  position: relative;
  width: 100%;
}

.custom-multiselect-btn {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 0 12px 0 14px !important;
  cursor: pointer !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #0F172A !important;
  user-select: none !important;
  text-align: left !important;
  box-sizing: border-box !important;
  height: 42px !important;
  transition: all 0.15s ease !important;
}

.custom-multiselect-btn:hover {
  border-color: #CBD5E1 !important;
}

.custom-multiselect-btn.open,
.custom-multiselect-btn:focus {
  border-color: #0F172A !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
  outline: none !important;
}

.multiselect-btn-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 6px;
}

.multiselect-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 8px;
  line-height: 1;
  flex-shrink: 0;
}

.multiselect-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: #64748B;
}

.custom-multiselect-btn.open .multiselect-chevron {
  transform: rotate(180deg);
}

.custom-multiselect-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 260px;
  max-width: 320px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08);
  z-index: 99999;
  padding: 10px;
  box-sizing: border-box;
  animation: adpFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.multiselect-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 8px;
  border-bottom: 1px solid #F1F5F9;
}

.multiselect-header-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1E293B;
}

.multiselect-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #0F172A;
  border-radius: 4px;
}

.multiselect-reset-btn {
  background: transparent;
  border: none;
  padding: 3px 8px;
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
}

.multiselect-reset-btn:hover {
  color: #DC2626;
  background: #FEF2F2;
}

.multiselect-search-box {
  position: relative;
  margin: 8px 0;
}

.multiselect-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.multiselect-search-input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 30px;
  font-size: 0.82rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s, background-color 0.15s;
}

.multiselect-search-input:focus {
  border-color: #0F172A;
  background: #FFFFFF;
}

.multiselect-options-list {
  max-height: 230px;
  overflow-y: auto;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.multiselect-options-list::-webkit-scrollbar {
  width: 5px;
}
.multiselect-options-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
}

.multiselect-option-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s ease;
  user-select: none;
}

.multiselect-option-item:hover {
  background: #F8FAFC;
}

.multiselect-option-item.selected {
  background: #F1F5F9;
}

.multiselect-option-avatar {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: #E2E8F0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
}

.multiselect-option-name {
  flex: 1;
  font-size: 0.85rem;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.multiselect-option-item.selected .multiselect-option-name {
  font-weight: 600;
  color: #0F172A;
}

.multiselect-empty {
  padding: 16px 8px;
  text-align: center;
  color: #94A3B8;
  font-size: 0.82rem;
}

/* ==========================================================
   TASK SCREEN MONITORING THUMBNAILS & LIGHTBOX
   ========================================================== */
.task-screenshots-reel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.task-screenshots-reel::-webkit-scrollbar {
  height: 6px;
}
.task-screenshots-reel::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
.task-shot-thumb {
  flex-shrink: 0;
  width: 140px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid #E2E8F0;
  background: #0F172A;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.task-shot-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  border-color: #94A3B8;
}
.task-shot-thumb.is-idle {
  border: 1px solid #FCD34D !important;
  opacity: 0.92;
}
.task-shot-thumb.is-idle:hover {
  opacity: 1;
  border-color: #F59E0B !important;
}
.task-shot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.task-shot-thumb-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0));
  padding: 12px 6px 4px 6px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.65rem;
}
.task-shot-thumb-time {
  font-family: monospace;
  font-weight: 600;
  color: #F8FAFC;
}
.task-shot-thumb-emp {
  color: #94A3B8;
  max-width: 65px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sm-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sm-lightbox-card {
  width: 100%;
  max-width: 1200px;
  background: #0F172A;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
.sm-lightbox-header {
  padding: 14px 20px;
  background: #1E293B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sm-lightbox-image-wrap {
  position: relative;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  max-height: 75vh;
}
.sm-lightbox-image-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.sm-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  color: #FFF;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.15s ease;
  user-select: none;
}
.sm-nav-btn:hover {
  background: #2563EB;
  border-color: #2563EB;
  transform: translateY(-50%) scale(1.08);
}
.sm-nav-btn.prev { left: 16px; }
.sm-nav-btn.next { right: 16px; }





