/* CSS Variables for Elegant Dusty Rose & Pastel Black Minimalist Design System */
:root {
  --bg-primary: #FDF9F8; /* Super soft rose-tinted warm white */
  --bg-secondary: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.97); /* High opacity white for text contrast over line art */
  --bg-glass-border: rgba(197, 168, 164, 0.25);
  
  /* Color Palette */
  --color-primary: #2C2A29; /* Matte Pastel Black */
  --color-primary-light: #FAF6F5;
  --color-success: #8EAC9A; /* Soft Sage Green (complements dusty rose) */
  --color-success-light: #F0F4F2;
  --color-accent: #C5A8A4; /* Elegant Dusty Rose (Rosa Viejo) */
  --color-accent-light: #F8ECEB;
  
  /* Neutrals & Borders */
  --text-main: #2C2A29; /* Matte Pastel Black */
  --text-muted: #6E6866; /* Muted Warm Gray */
  --border-light: #E4DCDA;
  --border-hover: #C5A8A4;
  --shadow-sm: 0 2px 6px rgba(197, 168, 164, 0.08);
  --shadow-md: 0 6px 20px -2px rgba(197, 168, 164, 0.12), 0 2px 8px -1px rgba(197, 168, 164, 0.06);
  --shadow-lg: 0 12px 35px -5px rgba(197, 168, 164, 0.16), 0 4px 12px -2px rgba(197, 168, 164, 0.08);
  
  /* Fonts */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', var(--font-family);
  --font-signature: 'Playfair Display', Georgia, serif;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Base Styles with Florence's Custom Iridescent Line Art Background */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

body {
  font-family: var(--font-family);
  /* Uses custom background image with soft dusty rose gradient overlay */
  background-image: linear-gradient(rgba(253, 249, 248, 0.65), rgba(244, 226, 223, 0.70)), 
                    url('background.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Repeating Newspaper Watermark in Dusty Rose */
.bg-watermark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04; /* Soft watermark blend */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='160' viewBox='0 0 260 160'><text fill='%23C5A8A4' font-family='Georgia, serif' font-size='9' x='0' y='20' transform='rotate(-25 130 80)'>FLORENCIA GIMENEZ - EDITORIAL - CORRECTORA - SEMANTICA - SINTAXIS - ORTOGRAFIA - ESTILO</text></svg>");
  pointer-events: none;
  z-index: 0;
}

/* Layout */
header {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom: 1.5px solid var(--border-light);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  height: 75px; /* Reduced from 130px to keep the header elegant and compact */
  max-width: 380px;
  object-fit: contain;
}

.logo-fallback {
  font-family: var(--font-signature);
  font-size: 1.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-main);
}

nav .admin-toggle {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav .admin-toggle:hover {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

main {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  background-color: rgba(255, 255, 255, 0.95);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

/* Stepper (Progress Bar) */
.stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-light);
  transform: translateY(-50%);
  z-index: 1;
}

.stepper-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
  z-index: 1;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step {
  width: 32px;
  height: 32px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

.step.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}

.step.completed {
  border-color: var(--color-success);
  background-color: var(--color-success);
  color: white;
}

/* Minimalist Card Containers */
.card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.card-glass.active {
  display: block;
}

/* Typography & Headers */
h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-weight: 700;
}

.welcome-title-box {
  border-top: 1.5px solid var(--color-accent);
  border-bottom: 1.5px solid var(--color-accent);
  padding: 1.25rem 0;
  margin-bottom: 2rem;
  text-align: center;
}

.welcome-title {
  font-family: var(--font-signature);
  font-weight: 700;
  font-style: italic;
  font-size: 3rem;
  color: var(--color-primary);
  line-height: 1.1;
}

.welcome-subtitle {
  font-family: var(--font-signature);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-accent);
  text-align: center;
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
}

h2 {
  font-family: var(--font-signature);
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
  color: var(--color-primary);
}

/* Buttons (Rose & Black Minimalist) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--color-primary); /* Matte Pastel Black */
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-accent); /* Dusty Rose hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(197, 168, 164, 0.25);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-success {
  background-color: var(--color-success); /* Soft sage green */
  color: white;
}

.btn-success:hover {
  background-color: #7A9B87;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(142, 172, 154, 0.25);
}

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

.btn-container {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-center {
  justify-content: center;
}

/* Welcome Grid */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  margin-top: 1rem;
}

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

.welcome-info {
  display: flex;
  flex-direction: column;
}

.welcome-info p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-main);
  text-align: justify;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.features-list li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Photo Frames (Elegant Polaroid & Expandable Diploma) */
.profile-photo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border: 1px solid var(--border-light);
  padding: 0.8rem;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  height: fit-content;
}

.profile-photo {
  width: 100%;
  max-width: 220px;
  height: 250px;
  object-fit: cover;
  border: 1px solid #FAF6F5;
}

.photo-fallback-style {
  width: 220px;
  height: 250px;
  background-color: var(--color-primary-light);
  border: 2px dashed var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.profile-caption {
  font-family: var(--font-signature);
  font-style: italic;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: var(--text-muted);
}

/* Diploma Link Section */
.diploma-toggle-box {
  margin-top: 1.5rem;
  border-top: 1px dashed var(--border-light);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.diploma-link-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.diploma-link-btn:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.diploma-img-container {
  display: none;
  margin-top: 0.75rem;
  border: 1px solid var(--border-light);
  padding: 6px;
  background-color: white;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  animation: fadeIn 0.3s ease-out;
}

.diploma-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border: 1px solid #FAF6F5;
  cursor: zoom-in;
}

/* File Upload Component */
.upload-container {
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  position: relative;
}

.upload-container:hover {
  border-color: var(--text-main);
}

.upload-container.dragover {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.upload-icon {
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.upload-text {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-input {
  display: none;
}

.file-status-card {
  margin-top: 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.file-action-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.file-action-btn:hover {
  color: #EF4444;
}

/* Analyzer Loader */
.analyzer-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: var(--color-primary-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.analyzer-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(197, 168, 164, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 0.75rem;
}

.analyzer-progress-bar {
  width: 100%;
  max-width: 200px;
  height: 4px;
  background-color: rgba(197, 168, 164, 0.2);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
  position: relative;
}

.analyzer-progress-value {
  height: 100%;
  width: 0%;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.analyzer-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
}

/* Inputs styling */
.form-group {
  margin-bottom: 1.5rem;
}

label.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.select-control, .input-control {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
}

.select-control:focus, .input-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

/* Correction Cards Grid */
.correction-category-title {
  font-family: var(--font-signature);
  font-size: 1.25rem;
  font-style: italic;
  margin: 1.75rem 0 0.75rem 0;
  color: var(--color-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
}

.correction-category-title span {
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

.correction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.checkbox-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  user-select: none;
}

.checkbox-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.checkbox-card.selected {
  border-color: var(--color-accent);
  border-width: 1.5px;
  background-color: var(--color-accent-light);
}

.checkbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkbox-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.checkbox-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.checkbox-card input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

/* Devolution formats */
.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.radio-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  gap: 12px;
}

.radio-card:hover {
  border-color: var(--color-accent);
}

.radio-card.selected {
  border-color: var(--color-accent);
  border-width: 1.5px;
  background-color: var(--color-accent-light);
}

.radio-card input[type="radio"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

.radio-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.radio-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Budget View Display */
.budget-summary-box {
  background-color: var(--color-accent-light);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.budget-summary-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background-color: var(--color-accent);
}

.budget-value {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin: 0.5rem 0;
  font-family: var(--font-title);
  letter-spacing: -1px;
}

.budget-date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.5rem;
}

.budget-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.correction-breakdown {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}

.correction-breakdown th, .correction-breakdown td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.correction-breakdown th {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
}

.correction-breakdown td.price {
  text-align: right;
  font-weight: 700;
}

/* Urgency details */
.urgency-toggle-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-secondary);
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.urgency-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.urgency-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* iOS Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--border-light);
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--color-accent);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Success payment options */
.success-illustration {
  width: 70px;
  height: 70px;
  background-color: var(--color-success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  margin: 0 auto 1.5rem auto;
  border: 1px solid var(--color-success);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 1.5rem 0;
}

@media (max-width: 600px) {
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.payment-badge {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-sm);
}

.payment-badge svg {
  color: var(--color-accent);
}

.data-protection-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-top: 2rem;
  display: flex;
  gap: 12px;
}

.data-protection-box svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Admin Dashboard Section */
.admin-section {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.admin-section.active {
  display: block;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 1rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
}

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

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-tab-btn {
  text-align: left;
  background: none;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
}

.admin-tab-btn:hover {
  background-color: var(--color-primary-light);
  color: var(--text-main);
}

.admin-tab-btn.active {
  background-color: var(--color-primary);
  color: white;
}

.admin-content-pane {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  min-height: 400px;
}

/* Admin Requests List */
.request-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background-color: var(--bg-primary);
}

.request-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-accent);
}

.request-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 8px;
}

.request-title {
  font-weight: 700;
  font-size: 1rem;
}

.request-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.request-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 6px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.request-badge-urg {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.request-badge-normal {
  color: var(--text-muted);
  background-color: var(--color-primary-light);
}

.request-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .request-details-grid {
    grid-template-columns: 1fr;
  }
}

.request-val {
  font-weight: 700;
  color: var(--text-main);
}

.request-actions {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
  justify-content: flex-end;
}

/* Settings Form */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.settings-group-title {
  grid-column: 1 / -1;
  font-family: var(--font-signature);
  font-style: italic;
  font-size: 1.15rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
}

.admin-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  padding: 4rem 1rem;
}

/* Simulated Notifications Modal */
.notification-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 360px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(197, 168, 164, 0.2);
  padding: 1rem;
  z-index: 1000;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.notification-bubble-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2px;
}

.notification-bubble-close {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.notification-bubble-content {
  font-size: 0.8rem;
  color: var(--text-main);
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Eye-Catching Pulsating Start Button Style */
#btn-start {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(197, 168, 164, 0.4), 0 0 0 0px rgba(197, 168, 164, 0.2);
  animation: heartbeat-pulse 2s infinite ease-in-out;
  position: relative;
  overflow: hidden;
  letter-spacing: 1.5px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#btn-start::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: shine-sweep 4s infinite linear;
}

#btn-start:hover {
  animation-play-state: paused;
  transform: scale(1.06) !important;
  box-shadow: 0 10px 28px rgba(197, 168, 164, 0.7);
  background: linear-gradient(135deg, #1f1e1d 0%, var(--color-accent) 100%);
}

@keyframes heartbeat-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(197, 168, 164, 0.4), 0 0 0 0px rgba(197, 168, 164, 0.3);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(197, 168, 164, 0.6), 0 0 0 8px rgba(197, 168, 164, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(197, 168, 164, 0.4), 0 0 0 0px rgba(197, 168, 164, 0);
  }
}

@keyframes shine-sweep {
  0% {
    left: -120%;
  }
  15% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

