/* ─── Cozy Linens Catalog Admin Stylesheet ───────────────────────────────── */

:root {
  --admin-bg: #f8fafc;
  --sidebar-bg: #0f172a;
  --sidebar-hover: #1e293b;
  --sidebar-active: #2563eb;
  --text-main: #334155;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --primary: #b56e85;
  --primary-hover: #9c5c70;
  --primary-light: #fdf2f8;
  --success: #10b981;
  --danger: #ef4444;
}

body.cozy-admin-body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--admin-bg);
  color: var(--text-main);
  min-height: 100vh;
}

/* ─── Dashboard Layout ─────────────────────────────────────────────────── */
.cozy-admin-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.cozy-admin-sidebar {
  width: 260px;
  background-color: var(--sidebar-bg);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 100;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.cozy-admin-sidebar-header {
  padding: 0 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.sidebar-brand-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.sidebar-brand-text p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin: 2px 0 0;
  font-weight: 500;
}

.cozy-admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  flex-grow: 1;
}

.cozy-admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cozy-admin-sidebar-nav a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cozy-admin-sidebar-nav a:hover .nav-icon {
  transform: translateX(2px);
}

.cozy-admin-sidebar-nav a.active {
  background-color: #8B3D57;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(139, 61, 87, 0.35);
}

.cozy-admin-sidebar-footer {
  padding: 0 16px 20px;
  margin-top: auto;
}

.logout-btn {
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background-color: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Main Content */
.cozy-admin-main {
  flex-grow: 1;
  margin-left: 260px;
  padding: 40px;
  max-width: calc(100% - 260px);
  box-sizing: border-box;
}

/* ─── Components ──────────────────────────────────────────────────────── */

/* Alerts */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  box-sizing: border-box;
}

.alert-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Page Header */
.cozy-admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.cozy-admin-page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.cozy-admin-page-header p {
  color: #64748b;
  font-size: 14px;
  margin: 4px 0 0;
  font-family: 'Inter', sans-serif;
}

/* Buttons */
.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-admin-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-admin-primary:hover {
  background-color: var(--primary-hover);
}

.btn-admin-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-admin-secondary:hover {
  background-color: var(--admin-bg);
}

.btn-admin-danger {
  background-color: var(--danger);
  color: #ffffff;
}

.btn-admin-danger:hover {
  background-color: #dc2626;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* Typography & Layout Helpers */
.heading-serif {
  font-family: 'Playfair Display', serif;
}

.text-sans {
  font-family: 'Inter', sans-serif;
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-muted { color: var(--text-light) !important; }
.text-dark { color: var(--sidebar-bg) !important; }
.text-right { text-align: right !important; }

/* Page Title Row & Catalog Count Chip */
.page-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-count-chip {
  display: inline-flex;
  align-items: center;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
}

/* Cards & Tables */
.cozy-admin-card {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin-bottom: 24px;
}

.cozy-admin-card.p-0 {
  padding: 0 !important;
}

.cozy-admin-card.overflow-hidden {
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 14px 18px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: var(--text-main);
  vertical-align: middle;
  transition: background-color 0.15s ease;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover td {
  background-color: #f8fafc;
}

/* Product Row Specific Details */
.product-item-title {
  font-size: 15px;
  color: #0f172a;
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.product-item-desc {
  font-size: 12px;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.price-text {
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
}

.moq-text {
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}

.fabric-title {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: block;
}

.gsm-subtext {
  font-size: 11px;
  display: block;
  color: #64748b;
}

/* Badge tags */
.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-default {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.badge-primary {
  background-color: #fdf2f8;
  color: #8B3D57;
  border: 1px solid rgba(139, 61, 87, 0.2);
}

/* Product list image & placeholders */
.admin-img-preview {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  display: block;
}

.admin-img-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}

/* Action Icon Buttons */
.table-action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.btn-action-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  text-decoration: none;
}

.btn-action-icon.edit-action:hover {
  background-color: #f8fafc;
  color: #8B3D57;
  border-color: rgba(139, 61, 87, 0.3);
  transform: translateY(-1px);
}

.btn-action-icon.delete-action:hover {
  background-color: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  transform: translateY(-1px);
}

/* Empty State Banner */
.empty-catalog-state {
  text-align: center;
  padding: 60px 24px;
}

.empty-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  margin-bottom: 16px;
}

.admin-icon-preview {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  background-color: var(--primary-light);
  padding: 2px;
  border: 1px solid var(--border-color);
  display: block;
}

.admin-icon-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background-color: var(--primary-light);
  border: 1px solid rgba(181, 110, 133, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

/* Card Section Header */
.card-section-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.card-section-header h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.card-section-header p {
  font-size: 13px;
  margin: 0;
}

/* Forms & Controls */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%20%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: #8B3D57;
  box-shadow: 0 0 0 4px rgba(139, 61, 87, 0.12);
}

textarea.form-control,
.text-area-control {
  height: auto !important;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Category Split view page */
.category-split-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.sticky-form-card {
  position: sticky;
  top: 24px;
}

@media (max-width: 992px) {
  .category-split-layout {
    grid-template-columns: 1fr;
  }
  .sticky-form-card {
    position: static;
  }
}

/* Dropzone & Image Uploaders */
.image-uploader-container {
  border: 2px dashed rgba(139, 61, 87, 0.25);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  background-color: #fcf8fa;
  cursor: pointer;
  transition: all 0.25s ease;
}

.image-uploader-container.compact-uploader {
  padding: 16px 14px;
}

/* Helper Utility Extensions */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.d-inline { display: inline-block !important; }
.d-none { display: none !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.gap-8 { gap: 8px !important; }
.gap-24 { gap: 24px !important; }
.w-full { width: 100% !important; }
.mt-8 { margin-top: 8px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-4 { margin-bottom: 4px !important; }

.image-uploader-container:hover {
  border-color: #8B3D57;
  background-color: #fdf2f8;
  transform: translateY(-1px);
}

.uploader-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(139, 61, 87, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8B3D57;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(139, 61, 87, 0.1);
}

.uploader-main-text {
  margin: 0;
  color: #334155;
  font-size: 14px;
}

.uploader-sub-text {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
}

/* Image Preview Chips */
.image-grid-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
}

.image-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 1;
}

.image-preview-remove:hover {
  background: #dc2626;
}

/* Form Action Bar */
.form-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Login Page Specific (Split-Screen Redesign) */
.cozy-login-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #faf9f6;
  color: #1e293b;
  min-height: 100vh;
}

.cozy-login-viewport {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Left Brand Panel (60%) */
.login-brand-panel {
  flex: 0 0 60%;
  max-width: 60%;
  position: relative;
  background-image: url('/about-story.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 60px 40px;
  color: #ffffff;
  box-sizing: border-box;
}

.brand-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(139, 61, 87, 0.85) 100%);
  z-index: 1;
}

.brand-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  align-self: flex-start;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}



.brand-hero-text {
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 520px;
}

.brand-tagline {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #efc8d4;
  margin-bottom: 12px;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #ffffff;
}

.brand-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
  font-weight: 400;
}

.brand-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #f1f5f9;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Right Form Panel (40%) */
.login-form-panel {
  flex: 0 0 40%;
  max-width: 40%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  box-sizing: border-box;
}

.login-form-wrapper {
  width: 100%;
  max-width: 380px;
}

.mobile-logo-header {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.mobile-logo-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin: 0;
  color: #0f172a;
}

.form-header {
  margin-bottom: 32px;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Error Alert */
.admin-login-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.4;
}

.admin-login-alert .alert-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: #dc2626;
}

.admin-login-alert .alert-content p {
  margin: 0;
  font-weight: 500;
}

/* Form inputs */
.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.form-input.password-input {
  padding-right: 46px;
}

.password-toggle-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: #8B3D57;
}

.form-input {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  background-color: #ffffff;
  border-color: #8B3D57;
  box-shadow: 0 0 0 4px rgba(139, 61, 87, 0.12);
}

.form-input:focus + .field-icon,
.input-with-icon:focus-within .field-icon {
  color: #8B3D57;
}

.form-remember-row {
  display: flex;
  align-items: center;
  margin-top: -4px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #8B3D57;
  cursor: pointer;
  border-radius: 4px;
}

.checkbox-text {
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}

/* Submit Button */
.admin-submit-btn {
  width: 100%;
  height: 48px;
  background-color: #8B3D57;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(139, 61, 87, 0.25);
  transition: all 0.25s ease;
  margin-top: 8px;
}

.admin-submit-btn:hover {
  background-color: #722f46;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(139, 61, 87, 0.35);
}

.admin-submit-btn:active {
  transform: translateY(0);
}

.login-form-footer {
  margin-top: 32px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

.back-to-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-site-link:hover {
  color: #8B3D57;
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 991px) {
  .login-brand-panel {
    display: none;
  }

  .login-form-panel {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 40px 24px;
    background-color: #f8fafc;
  }

  .mobile-logo-header {
    display: flex;
  }

  .login-form-wrapper {
    background: #ffffff;
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  }
}

/* Settings Guide Card & Rules */
.settings-guide-card {
  background-color: #fcf8fa;
  border-color: rgba(139, 61, 87, 0.2);
}

.guide-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

.check-icon-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #fdf2f8;
  border: 1px solid rgba(139, 61, 87, 0.25);
  color: #8B3D57;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.guide-check-list code {
  font-family: monospace;
  background-color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  color: #0f172a;
}

.guide-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  background-color: #ffffff;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(139, 61, 87, 0.3);
  color: #475569;
}

.guide-notice-box svg {
  color: #8B3D57;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-notice-box p {
  margin: 0;
}
