* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== DEV BANNER ========== */
.dev-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #0274be; color: #ffffff; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 4px 0; text-transform: uppercase; display: none; }
.dev-banner.show { display: block; }
.app-layout.has-dev-banner { padding-top: 26px; }

html {
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #001E2B 0%, #002838 100%);
  color: #e8e8e8;
  min-height: 100vh;
  width: 100%;
}

a {
  color: #00ED64;
  text-decoration: underline;
}

a:hover {
  color: #33ff8c;
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  color: #00ED64;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(0, 237, 100, 0.3);
}

/* ========== APP LAYOUT (SIDEBAR) ========== */
.app-layout {
  display: flex;
  gap: 0;
  min-height: 100vh;
  width: 100%;
}

.sidebar-nav {
  width: 230px;
  flex-shrink: 0;
  background: #001E2B;
  border-right: 1px solid rgba(0, 237, 100, 0.12);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-nav-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #00ED64;
  border-bottom: 1px solid rgba(0, 237, 100, 0.12);
  text-shadow: 0 0 20px rgba(0, 237, 100, 0.3);
}

.sidebar-nav-title-icon {
  font-size: 20px;
}

.sidebar-nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  cursor: pointer;
  color: #b8c4c2;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
  gap: 12px;
}

.sidebar-nav-item:hover {
  background: rgba(0, 237, 100, 0.07);
  color: #00ED64;
}

.sidebar-nav-item.active {
  background: rgba(0, 237, 100, 0.1);
  color: #00ED64;
  border-left-color: #00ED64;
  font-weight: 600;
}

.sidebar-nav-item .nav-icon {
  font-size: 17px;
  width: 22px;
  text-align: center;
  opacity: 0.8;
}

.sidebar-nav-item.active .nav-icon {
  opacity: 1;
}

.sidebar-nav-divider {
  height: 1px;
  background: rgba(0, 237, 100, 0.1);
  margin: 6px 16px;
}

.sidebar-nav-section {
  padding: 8px 16px 4px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(184, 196, 194, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.sidebar-nav-item.logout-item {
  color: #ff6b7a;
}

.sidebar-nav-item.logout-item:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #ff6b7a;
}

.main-content {
  flex: 1;
  min-width: 0;
  padding: 28px;
  overflow-y: auto;
}

/* ========== SECTION HEADER ========== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 10px;
}

.section-header h2 {
  margin: 0;
}

.section-header > div {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

/* ========== HIDDEN UTILITY ========== */
.hidden {
  display: none !important;
}

h2 {
  color: #00ED64;
  margin: 20px 0 15px;
  font-size: 1.5em;
  font-weight: 600;
}

.card {
  background: rgba(33, 49, 60, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 237, 100, 0.08);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 15px;
}

.input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #b8c4c2;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="time"],
input[type="date"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0, 237, 100, 0.2);
  border-radius: 4px;
  font-size: 14px;
  background: rgba(0, 30, 43, 0.6);
  color: #e8e8e8;
  transition: all 0.3s ease;
  box-sizing: border-box;
  height: 40px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="time"]:focus,
input[type="date"]:focus,
select:focus {
  outline: none;
  border-color: #00ED64;
  box-shadow: 0 0 0 2px rgba(0, 237, 100, 0.1);
  background: rgba(0, 30, 43, 0.8);
}

/* Date input calendar icon styling */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
  cursor: pointer;
}

select option {
  background: #21313c;
  color: #e8e8e8;
}

.notification-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 30, 43, 0.4);
  border-radius: 4px;
  border: 1px solid rgba(0, 237, 100, 0.1);
}

.notification-checkboxes label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 30, 43, 0.6);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.notification-checkboxes label:hover {
  background: rgba(0, 237, 100, 0.1);
}

.notification-checkboxes .no-configs {
  color: #6c757d;
  font-style: italic;
  padding: 0;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

button {
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
}

.btn-primary {
  border-color: #00ED64;
  color: #00ED64;
  background: transparent;
  box-shadow: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00ED64 0%, #00AA57 100%);
  color: #001E2B;
  box-shadow: 0 4px 15px rgba(0, 237, 100, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: #00B8D4;
  color: #00B8D4;
  background: transparent;
  box-shadow: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #00B8D4 0%, #0097A7 100%);
  color: #001E2B;
  box-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
  transform: translateY(-2px);
}

.btn-secondary.active {
  background: rgba(0, 237, 100, 0.2);
  border-color: #00ED64;
  color: #00ED64;
  box-shadow: 0 0 10px rgba(0, 237, 100, 0.3);
}

.btn-sm {
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 20px;
}

/* Custom tooltip */
.has-tooltip {
  position: relative;
}

.has-tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #1a2e35;
  color: #e8e8e8;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  padding: 7px 10px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  width: max-content;
  max-width: 320px;
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  z-index: 1000;
  transition: opacity 0.15s ease;
  pointer-events: none;
  white-space: normal;
}

.has-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.btn-danger {
  border-color: #ff4757;
  color: #ff4757;
  background: transparent;
  box-shadow: none;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #ff4757 0%, #dc3545 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  transform: translateY(-2px);
}

.btn-cancel {
  border-color: #FFA726;
  color: #FFA726;
  background: transparent;
  box-shadow: none;
}

.btn-cancel:hover {
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
  color: #001E2B;
  box-shadow: 0 4px 15px rgba(255, 167, 38, 0.3);
  transform: translateY(-2px);
}

.btn-warning {
  border-color: #FFA726;
  color: #FFA726;
  background: transparent;
  box-shadow: none;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
  color: #001E2B;
  box-shadow: 0 4px 15px rgba(255, 167, 38, 0.3);
  transform: translateY(-2px);
}

/* Compact buttons for table actions */
table td button {
  padding: 6px 14px;
  font-size: 13px;
  margin: 2px;
  min-width: auto;
  border-radius: 16px;
}

/* Right-justify the Actions column */
table td:last-child,
table th:last-child {
  text-align: right;
}

table td:last-child {
  white-space: nowrap;
}

.btn-success {
  border-color: #00ED64;
  color: #00ED64;
  background: transparent;
  box-shadow: none;
}

.btn-success:hover {
  background: linear-gradient(135deg, #00ED64 0%, #00AA57 100%);
  color: #001E2B;
  box-shadow: 0 4px 15px rgba(0, 237, 100, 0.3);
  transform: translateY(-2px);
}

.message {
  padding: 12px;
  border-radius: 6px;
  margin: 15px 0;
  display: none;
  backdrop-filter: blur(10px);
  border: 1px solid;
}

.message.success {
  background: rgba(0, 237, 100, 0.15);
  color: #00ED64;
  border-color: rgba(0, 237, 100, 0.4);
  box-shadow: 0 4px 15px rgba(0, 237, 100, 0.2);
}

.message.error {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b7a;
  border-color: rgba(220, 53, 69, 0.4);
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.message.show {
  display: block;
}

.message.running {
  background: rgba(0, 184, 212, 0.15);
  color: #00b8d4;
  border-color: rgba(0, 184, 212, 0.4);
  box-shadow: 0 4px 15px rgba(0, 184, 212, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.message.running::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 184, 212, 0.3);
  border-top-color: #00b8d4;
  border-radius: 50%;
  margin-right: 10px;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Progress bar styles for backup/restore operations */
.message.running.has-progress {
  animation: none;
  text-align: left;
}

.message.running.has-progress::before {
  display: none;
}

.progress-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.progress-detail {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 8px;
  min-height: 16px;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.progress-bar {
  height: 100%;
  background: #00b8d4;
  border-radius: 4px;
  transition: width 0.3s ease;
  min-width: 0;
}

.progress-bar.indeterminate {
  width: 30%;
  animation: indeterminate 1.5s ease-in-out infinite;
}

@keyframes indeterminate {
  0% { margin-left: 0; }
  50% { margin-left: 70%; }
  100% { margin-left: 0; }
}

.progress-percent {
  font-size: 11px;
  text-align: right;
  opacity: 0.7;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 237, 100, 0.1);
}

th {
  background: rgba(0, 237, 100, 0.1);
  font-weight: 600;
  color: #00ED64;
  user-select: none;
}

th[onclick] {
  cursor: pointer;
  transition: background 0.2s ease;
}

th[onclick]:hover {
  background: rgba(0, 237, 100, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85em;
}

tr:hover {
  background: rgba(0, 237, 100, 0.05);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ========== SPLIT PANEL LAYOUT ========== */
.notif-split-layout {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  align-items: stretch;
}

.notif-left-panel {
  width: 320px;
  flex-shrink: 0;
  padding: 16px;
  background: rgba(0, 30, 43, 0.5);
  border: 1px solid rgba(0, 237, 100, 0.12);
  border-radius: 8px;
  border-left: 3px solid #00ED64;
}

.notif-right-panel {
  flex: 1;
  min-width: 0;
  padding: 20px;
  background: rgba(33, 49, 60, 0.3);
  border: 1px solid rgba(0, 237, 100, 0.1);
  border-radius: 8px;
}

.notif-config-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notif-config-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  background: rgba(0, 30, 43, 0.4);
  border: 1px solid rgba(0, 237, 100, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.notif-config-item:hover {
  border-color: rgba(0, 237, 100, 0.4);
  background: rgba(0, 237, 100, 0.05);
}

.notif-config-item.active {
  border-color: #00ED64;
  background: rgba(0, 237, 100, 0.1);
  border-left: 3px solid #00ED64;
}

.notif-config-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.notif-config-item-name {
  font-weight: 500;
  color: #e8e8e8;
  font-size: 13px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notif-config-item-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.notif-config-item-actions button {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 4px;
}

.notif-config-item-details {
  display: flex;
  gap: 6px;
  font-size: 11px;
  color: #6c757d;
  margin-top: 4px;
}

.notif-config-item .config-name {
  font-weight: 500;
  color: #e8e8e8;
  font-size: 13px;
}

.notif-config-item .config-provider {
  font-size: 11px;
  color: #6c757d;
  text-transform: uppercase;
}

.notif-config-item .config-actions {
  display: flex;
  gap: 6px;
}

.notif-config-item .config-actions button {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 4px;
}

.notif-no-configs {
  text-align: center;
  color: #6c757d;
  font-size: 13px;
  padding: 20px 10px;
}

/* Schedule Accordion Layout */
.schedule-accordion {
  margin-bottom: 20px;
}

.schedule-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0, 30, 43, 0.5);
  border: 1px solid rgba(0, 237, 100, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}

.schedule-accordion-header:hover {
  background: rgba(0, 30, 43, 0.7);
  border-color: rgba(0, 237, 100, 0.4);
}

.schedule-accordion-header.active {
  border-color: #00ED64;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(0, 30, 43, 0.7);
}

.schedule-accordion-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.schedule-accordion-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #b8c4c2;
}

.schedule-accordion-title .accordion-icon {
  font-size: 20px;
}

.schedule-accordion-badge {
  background: #00ED64;
  color: #001e2b;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}

.schedule-accordion-arrow {
  font-size: 14px;
  color: rgba(184, 196, 194, 0.6);
  transition: transform 0.2s ease;
}

.schedule-accordion-header.active .schedule-accordion-arrow {
  transform: rotate(180deg);
}

.schedule-accordion-content {
  display: none;
  background: rgba(0, 20, 30, 0.3);
  border: 1px solid rgba(0, 237, 100, 0.2);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 20px;
}

.schedule-accordion-content.show {
  display: block;
}

/* Schedule split layout */
.schedule-split-layout {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.schedule-left-panel {
  width: 320px;
  flex-shrink: 0;
  padding: 16px;
  background: rgba(0, 30, 43, 0.5);
  border: 1px solid rgba(0, 237, 100, 0.12);
  border-radius: 8px;
  border-left: 3px solid #00ED64;
}

.schedule-right-panel {
  flex: 1;
  min-width: 0;
  padding: 20px;
  background: rgba(33, 49, 60, 0.3);
  border: 1px solid rgba(0, 237, 100, 0.1);
  border-radius: 8px;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 500px;
  overflow-y: auto;
}

/* Responsive: stack panels on smaller screens */
@media (max-width: 900px) {
  .notif-split-layout,
  .schedule-split-layout {
    flex-direction: column;
  }

  .notif-left-panel,
  .schedule-left-panel {
    width: 100%;
    border-left: 1px solid rgba(0, 237, 100, 0.12);
    border-top: 3px solid #00ED64;
  }
}

.schedule-item {
  background: rgba(0, 30, 43, 0.4);
  border: 1px solid rgba(0, 237, 100, 0.2);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.schedule-item:hover {
  border-color: rgba(0, 237, 100, 0.4);
  box-shadow: 0 4px 15px rgba(0, 237, 100, 0.1);
  transform: translateY(-2px);
}

.schedule-item.active {
  border-color: #00ED64;
  background: rgba(0, 237, 100, 0.08);
  border-left: 3px solid #00ED64;
}

.schedule-item-info {
  width: 100%;
}

.schedule-item-name {
  font-weight: 500;
  color: #b8c4c2;
  font-size: 13px;
  word-break: break-all;
}

.schedule-item-details {
  font-size: 11px;
  color: rgba(184, 196, 194, 0.6);
  margin-top: 4px;
}

.schedule-item-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.schedule-status-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.schedule-status-badge.enabled {
  background: rgba(0, 237, 100, 0.15);
  color: #00ED64;
}

.schedule-status-badge.disabled {
  background: rgba(184, 196, 194, 0.1);
  color: rgba(184, 196, 194, 0.6);
}

.schedule-item-actions {
  display: flex;
  gap: 4px;
}

.schedule-item-actions button {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 4px;
}

.schedule-no-items {
  text-align: center;
  color: rgba(184, 196, 194, 0.6);
  font-size: 13px;
  padding: 20px 10px;
}

.schedule-info {
  flex: 1;
}

.schedule-info p {
  margin: 5px 0;
}

.loading {
  text-align: center;
  color: #b8c4c2;
  padding: 20px;
}

.cron-help {
  font-size: 12px;
  color: #b8c4c2;
  margin-top: 5px;
}

.backup-size {
  color: #00ED64;
  font-size: 0.9em;
  font-weight: 500;
}

.form-row {
  display: grid;
  gap: 15px;
  margin-bottom: 15px;
}

/* 4-column row for host, port, username, password */
.form-row:has(> .form-group:nth-child(4)) {
  grid-template-columns: 2fr 1fr 2fr 2fr;
}

/* 3-column row for schedule type, day/time fields */
.form-row:has(> .form-group:nth-child(3):last-child) {
  grid-template-columns: 1.5fr 1.5fr 1fr;
}

/* 2-column row for database and auth-db, or schedule type and time */
.form-row:has(> .form-group:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}

.form-row .form-group {
  margin-bottom: 0;
}

.collection-browser {
  background: rgba(0, 30, 43, 0.4);
  border: 1px solid rgba(0, 237, 100, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  max-height: 400px;
  overflow-y: auto;
}

.collection-browser::-webkit-scrollbar {
  width: 10px;
}

.collection-browser::-webkit-scrollbar-track {
  background: rgba(0, 30, 43, 0.4);
  border-radius: 8px;
}

.collection-browser::-webkit-scrollbar-thumb {
  background: rgba(0, 237, 100, 0.3);
  border-radius: 8px;
}

.collection-browser::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 237, 100, 0.5);
}

.database-item {
  margin-bottom: 10px;
}

.database-header {
  display: flex;
  align-items: center;
  padding: 8px;
  background: rgba(33, 49, 60, 0.4);
  border: 1px solid rgba(0, 237, 100, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.database-header:hover {
  background: rgba(33, 49, 60, 0.6);
  border-color: rgba(0, 237, 100, 0.4);
  box-shadow: 0 2px 10px rgba(0, 237, 100, 0.1);
}

.database-header .expand-icon {
  margin-right: 8px;
  font-weight: bold;
  user-select: none;
  color: #00ED64;
}

.database-name {
  font-weight: 600;
  color: #00ED64;
  flex: 1;
}

.database-size {
  font-size: 0.9em;
  color: #b8c4c2;
  margin-left: 10px;
}

.collections-list {
  display: none;
  padding-left: 30px;
  margin-top: 5px;
}

.collections-list.expanded {
  display: block;
}

.collection-item {
  padding: 6px 10px;
  margin: 3px 0;
  background: rgba(0, 30, 43, 0.4);
  border: 1px solid rgba(0, 237, 100, 0.15);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.collection-item:hover {
  background: rgba(0, 237, 100, 0.1);
  border-color: rgba(0, 237, 100, 0.3);
}

.collection-item.selected {
  background: linear-gradient(135deg, rgba(0, 237, 100, 0.2) 0%, rgba(0, 170, 87, 0.2) 100%);
  border-color: #00ED64;
  color: #00ED64;
  box-shadow: 0 0 15px rgba(0, 237, 100, 0.3);
}

.collection-name {
  flex: 1;
}

.collection-size {
  font-size: 0.85em;
  color: #b8c4c2;
}

.collection-item.selected .collection-size {
  color: #00ED64;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.2s;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: rgba(33, 49, 60, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 237, 100, 0.3);
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 237, 100, 0.2);
  animation: slideIn 0.3s;
}

.modal-body {
  overflow-y: auto;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #e8e8e8;
}

.modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.modal-icon {
  font-size: 48px;
  margin-right: 15px;
}

.modal-icon.success {
  color: #00ED64;
  text-shadow: 0 0 20px rgba(0, 237, 100, 0.5);
}

.modal-icon.error {
  color: #ff6b7a;
  text-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.modal-icon.warning {
  color: #f39c12;
  text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.modal-icon.info {
  color: #3b82f6;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.modal-content.wide {
  max-width: 700px;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #00ED64;
}

.modal-detail {
  background: rgba(0, 30, 43, 0.6);
  border: 1px solid rgba(0, 237, 100, 0.2);
  padding: 15px;
  border-radius: 6px;
  margin: 10px 0;
  font-family: monospace;
  font-size: 13px;
}

.modal-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 237, 100, 0.1);
  gap: 10px;
  flex-wrap: wrap;
}

.modal-detail-row:last-child {
  border-bottom: none;
}

.modal-detail-label {
  font-weight: 600;
  color: #b8c4c2;
  flex-shrink: 0;
}

.modal-detail-value {
  color: #00ED64;
  word-break: break-all;
  overflow-wrap: break-word;
  text-align: right;
  flex: 1;
  min-width: 0;
}

.modal-footer {
  text-align: right;
}

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

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

/* Mobile Bottom Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #21313c;
  border-top: 1px solid rgba(0, 237, 100, 0.2);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  text-decoration: none;
  color: #6c757d;
  font-size: 10px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 8px;
  cursor: pointer;
  min-width: 50px;
}

.mobile-nav-item:hover {
  background: rgba(0, 237, 100, 0.1);
  color: #00ED64;
}

.mobile-nav-item.active {
  color: #00ED64;
  font-weight: 600;
}

.mobile-nav-icon {
  font-size: 20px;
  line-height: 1;
}

.mobile-more-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 10px;
  background: #21313c;
  border: 1px solid rgba(0, 237, 100, 0.3);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  min-width: 160px;
}

.mobile-more-menu.show {
  display: block;
}

.mobile-more-item {
  display: block;
  padding: 12px 16px;
  color: #b8c4c2;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-more-item:hover {
  background: rgba(0, 237, 100, 0.1);
  color: #00ED64;
}

.mobile-more-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 5px 0;
}

.mobile-more-item.logout-item {
  color: #dc3545;
}

.mobile-more-item.logout-item:hover {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

/* Mobile responsive */
@media (max-width: 768px) {
  /* Hide sidebar on mobile */
  .sidebar-nav {
    display: none;
  }

  .main-content {
    padding: 16px;
    padding-bottom: 80px;
  }

  /* Show mobile bottom nav */
  .mobile-nav {
    display: block;
  }

  .section-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .section-header > div {
    flex-wrap: wrap;
    width: 100%;
  }

  .section-header > div button {
    flex: 1;
    min-width: fit-content;
  }

  /* Add padding for bottom nav */
  .container {
    padding-bottom: 80px;
  }

  /* Form rows stack on mobile */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .form-row .form-group {
    margin-bottom: 5px;
  }

  /* Button groups wrap on mobile */
  .button-group {
    flex-wrap: nowrap;
  }

  .button-group button {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    font-size: 14px;
  }

  /* Hide table on mobile */
  #backups-list table,
  #backups-list thead,
  #backups-list tbody,
  #backups-list tr {
    display: block;
  }

  #backups-list thead {
    display: none;
  }

  #backups-list tr {
    margin-bottom: 15px;
    background: rgba(0, 30, 43, 0.6);
    border: 1px solid rgba(0, 237, 100, 0.2);
    border-radius: 8px;
    padding: 10px;
  }

  #backups-list td {
    display: block;
    text-align: left;
    border: none;
    padding: 8px 4px;
    position: relative;
    padding-left: 50%;
    word-break: break-all;
    overflow-wrap: break-word;
  }

  #backups-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #00ED64;
    text-transform: uppercase;
    font-size: 0.75em;
  }

  /* Checkbox column */
  #backups-list td:first-child {
    padding-left: 4px;
    text-align: center;
  }

  #backups-list td:first-child::before {
    content: none;
  }

  /* Actions column */
  #backups-list td:last-child {
    padding-left: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  #backups-list td:last-child::before {
    content: none;
  }

  #backups-list td button {
    flex: 1;
    min-width: 120px;
  }

  /* Connections list as cards on mobile */
  #connections-list table,
  #connections-list thead,
  #connections-list tbody,
  #connections-list tr {
    display: block;
  }

  #connections-list thead {
    display: none;
  }

  #connections-list tr {
    margin-bottom: 15px;
    background: rgba(0, 30, 43, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 237, 100, 0.2);
    padding: 10px;
  }

  #connections-list td {
    display: block;
    text-align: left;
    border: none;
    padding: 8px 4px;
    position: relative;
    padding-left: 50%;
  }

  #connections-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #00ED64;
    text-transform: uppercase;
    font-size: 0.75em;
  }

  /* Actions column */
  #connections-list td:last-child {
    padding-left: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  #connections-list td:last-child::before {
    content: none;
  }

  #connections-list td button {
    flex: 1;
    min-width: 80px;
  }

  /* Schedules list as cards on mobile */
  #schedules-list table,
  #schedules-list thead,
  #schedules-list tbody,
  #schedules-list tr {
    display: block;
  }

  #schedules-list thead {
    display: none;
  }

  #schedules-list tr {
    margin-bottom: 15px;
    background: rgba(0, 30, 43, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 237, 100, 0.2);
    padding: 10px;
  }

  #schedules-list td {
    display: block;
    text-align: left;
    border: none;
    padding: 8px 4px;
    position: relative;
    padding-left: 50%;
  }

  #schedules-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #00ED64;
    text-transform: uppercase;
    font-size: 0.75em;
  }

  /* Actions column */
  #schedules-list td:last-child {
    padding-left: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  #schedules-list td:last-child::before {
    content: none;
  }

  #schedules-list td button {
    flex: 1;
    min-width: 70px;
  }

  /* Extract configs list as cards on mobile */
  #extract-configs-list table thead {
    display: none;
  }

  #extract-configs-list table tr {
    display: block;
    margin-bottom: 15px;
    background: rgba(0, 30, 43, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 237, 100, 0.2);
    padding: 10px;
  }

  #extract-configs-list td {
    display: block;
    text-align: left;
    border: none;
    padding: 8px 4px;
    position: relative;
    padding-left: 50%;
  }

  #extract-configs-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #00ED64;
    text-transform: uppercase;
    font-size: 0.75em;
  }

  /* Actions column */
  #extract-configs-list td:last-child {
    padding-left: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  #extract-configs-list td:last-child::before {
    content: none;
  }

  #extract-configs-list td button {
    flex: 1;
    min-width: 70px;
  }

  /* Extract history list as cards on mobile */
  #extracts-list table thead {
    display: none;
  }

  #extracts-list table tr {
    display: block;
    margin-bottom: 15px;
    background: rgba(0, 30, 43, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 237, 100, 0.2);
    padding: 10px;
  }

  #extracts-list td {
    display: block;
    text-align: left;
    border: none;
    padding: 8px 4px;
    position: relative;
    padding-left: 50%;
    word-break: break-all;
    overflow-wrap: break-word;
  }

  #extracts-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #00ED64;
    text-transform: uppercase;
    font-size: 0.75em;
  }

  /* Actions column */
  #extracts-list td:last-child {
    padding-left: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  #extracts-list td:last-child::before {
    content: none;
  }

  #extracts-list td button {
    flex: 1;
    min-width: 70px;
  }

  /* Backup/Extract schedules lists as cards on mobile */
  #backup-schedules-list table,
  #backup-schedules-list thead,
  #backup-schedules-list tbody,
  #backup-schedules-list tr,
  #extract-schedules-list table,
  #extract-schedules-list thead,
  #extract-schedules-list tbody,
  #extract-schedules-list tr {
    display: block;
  }

  #backup-schedules-list thead,
  #extract-schedules-list thead {
    display: none;
  }

  #backup-schedules-list tr,
  #extract-schedules-list tr {
    margin-bottom: 15px;
    background: rgba(0, 30, 43, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 237, 100, 0.2);
    padding: 10px;
  }

  #backup-schedules-list td,
  #extract-schedules-list td {
    display: block;
    text-align: left;
    border: none;
    padding: 8px 4px;
    position: relative;
    padding-left: 50%;
  }

  #backup-schedules-list td::before,
  #extract-schedules-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #00ED64;
    text-transform: uppercase;
    font-size: 0.75em;
  }

  /* Actions column */
  #backup-schedules-list td:last-child,
  #extract-schedules-list td:last-child {
    padding-left: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  #backup-schedules-list td:last-child::before,
  #extract-schedules-list td:last-child::before {
    content: none;
  }

  #backup-schedules-list td button,
  #extract-schedules-list td button {
    flex: 1;
    min-width: 70px;
  }

  /* Email configs list as cards on mobile */
  #email-configs-list table,
  #email-configs-list thead,
  #email-configs-list tbody,
  #email-configs-list tr {
    display: block;
  }

  #email-configs-list thead {
    display: none;
  }

  #email-configs-list tr {
    margin-bottom: 15px;
    background: rgba(0, 30, 43, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 237, 100, 0.2);
    padding: 10px;
  }

  #email-configs-list td {
    display: block;
    text-align: left;
    border: none;
    padding: 8px 4px;
    position: relative;
    padding-left: 50%;
  }

  #email-configs-list td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #00ED64;
    text-transform: uppercase;
    font-size: 0.75em;
  }

  /* Actions column */
  #email-configs-list td:last-child {
    padding-left: 4px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  #email-configs-list td:last-child::before {
    content: none;
  }

  #email-configs-list td button {
    flex: 1;
    min-width: 60px;
  }
}

/* Log Viewer Styles */
.log-selector {
  margin-bottom: 20px;
}

.log-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.log-viewer {
  background: #1a2a1a;
  border: 1px solid #2a4a2a;
  border-radius: 8px;
  padding: 16px;
  max-height: 600px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 13px;
  color: #b8c4c2;
}

.log-viewer::-webkit-scrollbar {
  width: 12px;
}

.log-viewer::-webkit-scrollbar-track {
  background: #1a2a1a;
  border-radius: 8px;
}

.log-viewer::-webkit-scrollbar-thumb {
  background: #3a5a3a;
  border-radius: 8px;
}

.log-viewer::-webkit-scrollbar-thumb:hover {
  background: #00ED64;
}

.log-entry {
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  border: none;
  border-left: 3px solid;
  outline: none;
  box-shadow: none;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.log-entry.info {
  background: rgba(0, 237, 100, 0.1);
  border-left-color: #00ED64;
}

.log-entry.warn {
  background: rgba(255, 193, 7, 0.1);
  border-left-color: #ffc107;
}

.log-entry.error {
  background: rgba(231, 76, 60, 0.1);
  border-left-color: #e74c3c;
}

.log-entry.debug {
  background: rgba(108, 117, 125, 0.1);
  border-left-color: #6c757d;
}

.log-entry .timestamp {
  color: #6c757d;
  margin-right: 12px;
  border: none;
  outline: none;
}

.log-entry .level {
  font-weight: 600;
  margin-right: 12px;
  text-transform: uppercase;
  border: none;
  outline: none;
}

.log-entry .message {
  display: inline;
  color: #b8c4c2;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.log-entry.info .level {
  color: #00ED64;
}

.log-entry.warn .level {
  color: #ffc107;
}

.log-entry.error .level {
  color: #e74c3c;
}

.log-entry.debug .level {
  color: #6c757d;
}

.log-raw {
  font-family: monospace;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  color: #b8c4c2;
}

.log-info {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #b8c4c2;
}

.log-info strong {
  color: #00ED64;
}

/* Tools Config Tab Styles */
#tools-tab h4 {
  margin-bottom: 10px;
  margin-top: 0;
}

#tools-tab .tools-text {
  margin-bottom: 10px;
  opacity: 0.85;
}

#tools-tab .tools-note {
  margin-top: 10px;
  font-size: 0.85em;
  font-style: italic;
  opacity: 0.75;
}

#tools-tab .tools-step {
  margin-bottom: 5px;
  font-size: 0.9em;
  opacity: 0.85;
}

#tools-tab .tools-section {
  margin-bottom: 25px;
}

#tools-tab pre {
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 5px 0;
  background: rgba(0, 237, 100, 0.05);
  border: 1px solid rgba(0, 237, 100, 0.1);
  color: #b8c4c2;
}

#tools-tab .tools-verify {
  padding: 15px;
  border-radius: 4px;
  background: rgba(0, 237, 100, 0.1);
  border-left: 3px solid #00ED64;
}

#tools-tab .tools-verify p {
  margin: 0;
}

#tools-tab .tools-verify strong {
  font-weight: 600;
  color: #00ED64;
}

#tools-tab .tools-verify pre {
  margin-top: 10px;
  margin-bottom: 0;
}

/* ==========================================
   Login Page Styles
   ========================================== */

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-container {
  padding: 40px;
  background: rgba(22, 27, 34, 0.98);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 237, 100, 0.1);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.5s ease;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #00ED64 0%, #00C853 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.login-logo svg {
  width: 50px;
  height: 50px;
  fill: #0d1117;
}

.login-header h1 {
  color: #00ED64;
  margin: 0 0 8px;
  font-size: 1.6em;
  font-weight: 600;
}

.login-header p {
  color: #8892b0;
  margin: 0;
  font-size: 0.95em;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: #ccd6f6;
  font-weight: 500;
  font-size: 0.9em;
}

.login-form input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #30363d;
  border-radius: 8px;
  background: rgba(13, 17, 23, 0.8);
  color: #e6f1ff;
  font-size: 1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.login-form input[type="password"]:focus {
  outline: none;
  border-color: #00ED64;
  box-shadow: 0 0 0 3px rgba(0, 237, 100, 0.15);
}

.login-form input[type="password"]::placeholder {
  color: #4a5568;
}

.login-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #00ED64 0%, #00C853 100%);
  color: #0d1117;
  border: none;
  border-radius: 20px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.login-form button:active {
  transform: translateY(0);
}

.login-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.login-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  font-size: 0.9em;
}

.login-message.error {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
  display: block;
}

.login-message.success {
  background: rgba(0, 237, 100, 0.15);
  color: #00ED64;
  border: 1px solid rgba(0, 237, 100, 0.3);
  display: block;
}

.setup-note {
  text-align: center;
  color: #8892b0;
  font-size: 0.85em;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}

.reset-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.reset-warning {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85em;
  margin-bottom: 16px;
  line-height: 1.5;
}

.reset-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #ff6b6b;
  border: 2px solid rgba(220, 53, 69, 0.5);
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-btn:hover {
  background: rgba(220, 53, 69, 0.15);
  border-color: #ff6b6b;
}

.reset-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.reset-note {
  color: #8892b0;
  font-size: 0.8em;
  margin-top: 12px;
  text-align: center;
}

.forgot-password-link {
  display: none;
  text-align: center;
  margin-top: 16px;
}

.forgot-password-link a {
  color: #8892b0;
  font-size: 0.85em;
  text-decoration: none;
  cursor: pointer;
}

.forgot-password-link a:hover {
  color: #00ED64;
  text-decoration: underline;
}

.password-requirements {
  font-size: 0.8em;
  color: #64748b;
  margin-top: 6px;
}

#confirm-password-group {
  display: none;
}

.lock-icon {
  display: inline-block;
  margin-right: 6px;
}

/* ========== LOGIN FORGOT PASSWORD MODAL ========== */
.login-forgot { text-align: center; margin-top: 14px; }
.login-forgot-btn { background: none; border: none; color: #8892b0; font-size: 12px; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.login-forgot-btn:hover { color: #00ED64; }
.login-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 24px; backdrop-filter: blur(4px); }
.login-modal-box { background: #21313c; border: 1px solid rgba(0,237,100,0.15); border-radius: 12px; padding: 28px; max-width: 480px; width: 100%; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.login-modal-box h3 { font-size: 16px; font-weight: 700; color: #e8e8e8; margin-bottom: 12px; }
.login-modal-box > p { font-size: 13px; color: #8892b0; margin-bottom: 16px; }
.login-modal-section { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.login-modal-step { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: #8892b0; line-height: 1.6; }
.login-modal-num { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,237,100,0.1); border: 1px solid rgba(0,237,100,0.3); color: #00ED64; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.login-modal-step strong { color: #e8e8e8; }
.login-modal-list { margin: 8px 0 0 4px; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.login-modal-box code { background: rgba(0,30,43,0.8); border: 1px solid rgba(0,237,100,0.2); border-radius: 4px; padding: 1px 5px; font-size: 11px; color: #00ED64; font-family: 'SF Mono', 'Fira Mono', monospace; }
.login-modal-close { width: 100%; justify-content: center; padding: 10px; background: #00ED64; color: #001E2B; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease; }
.login-modal-close:hover { background: #33ff8c; }

/* ========== ABOUT PAGE ========== */
.page-header { margin-bottom: 20px; }
.page-header h1 { text-align: left; margin-bottom: 4px; }
.page-header p { color: #8892b0; font-size: 13px; margin: 0; }
.about-hero { text-align: center; padding: 36px 24px; margin-bottom: 20px; }
.about-hero-wordmark { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1; margin-bottom: 8px; }
.about-hero-mongo { color: #00ED64; text-shadow: 0 0 20px rgba(0,237,100,0.3); }
.about-hero-util { color: #b8c4c2; }
.about-hero-slogan { font-size: 12px; color: #8892b0; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 10px; }
.about-hero-version { margin-bottom: 16px; }
.about-hero-desc { max-width: 620px; margin: 0 auto; font-size: 14px; color: #b8c4c2; line-height: 1.7; }
.about-version-badge { display: inline-block; background: rgba(0,237,100,0.12); border: 1px solid rgba(0,237,100,0.3); color: #00ED64; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.3px; }
.about-section { margin-bottom: 20px; }
.about-section-title { font-size: 11px; font-weight: 700; color: #00ED64; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; }
.about-flow { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.about-flow-step { flex: 1; min-width: 120px; text-align: center; }
.about-flow-icon { font-size: 28px; margin-bottom: 8px; }
.about-flow-label { font-size: 13px; font-weight: 700; color: #e8e8e8; margin-bottom: 4px; }
.about-flow-desc { font-size: 11px; color: #8892b0; line-height: 1.4; }
.about-flow-arrow { font-size: 20px; color: #8892b0; padding-top: 18px; flex-shrink: 0; }
.about-concepts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.about-concept { padding: 20px; }
.about-concept-icon { font-size: 24px; margin-bottom: 10px; }
.about-concept h3 { font-size: 14px; font-weight: 700; color: #e8e8e8; margin-bottom: 8px; }
.about-concept p { font-size: 13px; color: #8892b0; line-height: 1.6; }
.about-dev-banner { display: flex; align-items: center; gap: 8px; background: rgba(255,193,7,0.1); border: 1px solid rgba(255,193,7,0.35); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: #ffc107; }
.about-tech-card-full { margin-bottom: 16px; padding: 18px 20px; }
.about-kv-grid { columns: 2; column-gap: 40px; }
.about-kv-grid .about-kv { break-inside: avoid; }
.about-tech-title { font-size: 11px; font-weight: 700; color: #00ED64; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.about-kv { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(0,237,100,0.08); font-size: 13px; }
.about-kv:last-child { border-bottom: none; }
.about-k { color: #8892b0; }
.about-v { color: #e8e8e8; text-align: right; }
.about-v code { background: rgba(0,30,43,0.8); border: 1px solid rgba(0,237,100,0.2); border-radius: 3px; padding: 1px 4px; font-size: 11px; color: #00ED64; font-family: 'SF Mono', 'Fira Mono', monospace; }
.about-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.about-badge-yes { background: rgba(0,237,100,0.12); border: 1px solid rgba(0,237,100,0.3); color: #00ED64; }
.about-badge-no { background: rgba(184,196,194,0.1); border: 1px solid rgba(184,196,194,0.2); color: #8892b0; }
.about-deps-card { margin-bottom: 16px; padding: 18px 20px; }
.about-deps-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.about-deps-table thead td { font-size: 11px; font-weight: 600; color: #8892b0; text-transform: uppercase; letter-spacing: 0.4px; padding: 4px 8px 8px; border-bottom: 1px solid rgba(0,237,100,0.08); }
.about-deps-table tbody td { padding: 6px 8px; border-bottom: 1px solid rgba(0,237,100,0.05); color: #b8c4c2; }
.about-deps-table tbody tr:last-child td { border-bottom: none; }
.about-licenses-card { margin-bottom: 16px; padding: 18px 20px; }
.about-licenses-intro { font-size: 13px; color: #8892b0; margin-bottom: 4px; }
.about-licenses-note { font-size: 12px; color: #8892b0; opacity: 0.7; margin-top: 12px; }
.about-copyright { text-align: center; font-size: 12px; color: #8892b0; opacity: 0.5; padding: 16px 0 8px; }
@media (max-width: 700px) { .about-concepts-grid { grid-template-columns: 1fr; } .about-flow-arrow { display: none; } .about-kv-grid { columns: 1; } }
