/* RoTransfer - Clean Minimalist Theme */

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
  color: #1d1d1f;
  background: #f5f5f7;
}

/* Background Container & Slideshow */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #f5f5f7;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
  opacity: 1;
}

/* Overlay for contrast if needed */
.background-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

/* Main App Container */
#app-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  z-index: 10;
}

/* Branding */
.brand {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 20;
}

.brand svg text {
  fill: #1d1d1f;
}

/* Clean Card - Minimalist */
.transfer-card {
  background: #ffffff;
  width: 360px;
  height: auto;
  max-height: 85vh;
  min-height: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: all 0.3s ease;
}

.transfer-card::-webkit-scrollbar {
  display: none;
}

/* Upload State */
.upload-state {
  display: flex;
  flex-direction: column;
}

/* Upload Buttons Container */
.upload-buttons-container {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.upload-big-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-big-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: #409FFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(64, 159, 255, 0.15);
}

.upload-big-btn.drag-over {
  background: rgba(64, 159, 255, 0.1);
  border-color: #409FFF;
  border-style: solid;
}

.upload-btn-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.upload-btn-text {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.upload-btn-hint {
  font-size: 11px;
  color: #888;
}

/* File List */
.file-list {
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 20px;
  display: none;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 5px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.file-item:last-child {
  border-bottom: none;
}

.file-item .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  font-weight: 500;
}

.file-item .remove {
  cursor: pointer;
  color: #ff3b30;
  font-size: 16px;
}

/* Mode Toggle */
.transfer-mode-toggle {
  display: flex;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 4px;
}

.mode-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #666;
  transition: all 0.2s;
}

.mode-btn.active {
  background: white;
  color: #1d1d1f;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s;
}

.form-group:focus-within {
  border-bottom-color: #409FFF;
}

.input-field {
  width: 100%;
  padding: 10px 0;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #1d1d1f;
  outline: none;
}

.input-field::placeholder {
  color: #888;
}

textarea.input-field {
  resize: none;
  min-height: 24px;
}

label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Multi Email Input Styling (Chips) */
.multi-email-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding-bottom: 2px;
}

.email-chip {
  background: #e0e0e0;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  color: #333;
}

.email-chip .remove-email {
  margin-left: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.email-chip .remove-email:hover {
  color: #000;
}

#email-to-input {
  flex: 1;
  min-width: 120px;
  border-bottom: none !important;
  /* Managed by parent form-group div */
  padding: 8px 0;
}


/* Advanced Settings */
.advanced-settings-toggle {
  text-align: center;
  cursor: pointer;
  color: #888;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 10px;
  transition: color 0.3s;
}

.advanced-settings-toggle:hover {
  color: #409FFF;
}

.advanced-settings {
  display: none;
  /* hidden by default */
  padding-top: 10px;
  animation: slideDown 0.3s ease-out;
}

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

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

/* Checkbox Styling */
.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #409FFF;
  width: 16px;
  height: 16px;
}

.security-options {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 10px;
}

/* Select Field */
.select-field {
  cursor: pointer;
  background: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 0px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 20px;
}

/* Transfer Button */
.transfer-btn {
  background-color: #409FFF;
  color: white;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: 25px;
  /* Pill shape */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(64, 159, 255, 0.4);
}

.transfer-btn:hover {
  background-color: #2b8cf5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(64, 159, 255, 0.5);
}

/* Transferring State */
.transferring-state {
  display: none;
  height: 100%;
  /* Fill the card */
  min-height: 400px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Circular Progress */
.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.35s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke: #409FFF;
}

.progress-text {
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  color: #409FFF;
}

.state-title {
  font-size: 22px;
  margin-bottom: 5px;
}

.state-text {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

/* Generated Link UI */
#generated-link {
  text-align: center;
  background: #f5f5f7;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  font-family: monospace;
  font-size: 13px;
  border: 1px solid #ddd;
}

.copy-btn {
  background: transparent;
  border: 1px solid #409FFF;
  color: #409FFF;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: #409FFF;
  color: white;
}


/* Background Artist Credit */
.background-credit {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  z-index: 10;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 600px) {
  #app-container {
    padding: 0;
    justify-content: center;
    align-items: flex-end;
    /* Card at bottom on mobile? or center */
  }

  .transfer-card {
    width: 100%;
    max-height: 90vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .brand {
    top: 20px;
    left: 20px;
  }
}

/* Auth Buttons */
.auth-buttons {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 20;
  display: flex;
  gap: 10px;
}

.nav-btn {
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-btn.primary {
  background: #1d1d1f;
  color: white;
  border: none;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Dashboard Container */
.dashboard-container {
  width: 100vw;
  height: 100vh;
  background: #f5f5f7;
  display: flex;
  position: relative;
  z-index: 100;
  /* Above background */
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: #1C2431;
  /* Business Dark Blue */
  color: white;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
}

.sidebar-logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 40px;
}

.sidebar-nav {
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: #aeb5c0;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 5px;
  transition: all 0.2s;
  font-size: 14px;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-item .badge {
  background: #ff3b30;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: auto;
}

/* Sidebar Stats */
.stat-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 10px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #409FFF;
}

/* Dashboard Main */
.dashboard-main {
  flex: 1;
  overflow-y: auto;
  padding: 40px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.btn-action {
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: #666;
}

/* Stats Cards Grid */
.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  flex: 1;
}

/* For demo purposes, let's flex the top row */
.dashboard-grid>div:nth-child(-n+3) {
  /* Using nth-child logic to select stats wrapper if grouped, but here nodes are siblings. 
      Let's use a wrapper in responsive or just float logic.
      Actually, the current HTML structure has them as siblings. Let's make the container grid.
   */
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 cols for stats */
  gap: 20px;
}

.activity-section {
  grid-column: span 3;
  /* Full width */
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  margin: 10px 0;
}

.stat-trend {
  font-size: 13px;
}

.stat-trend.increasing {
  color: #34c759;
}

.stat-trend.neutral {
  color: #007aff;
}

/* Data Table */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.btn-outline {
  background: white;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: #000;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 15px;
  color: #888;
  font-size: 13px;
  border-bottom: 2px solid #f5f5f7;
}

.data-table td {
  padding: 15px;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f7;
  color: #333;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.status-badge.sent {
  background: #e0f2ff;
  color: #007aff;
}

.status-badge.downloaded {
  background: #e6ffed;
  color: #34c759;
}

.status-badge.expired {
  background: #fff0f0;
  color: #ff3b30;
}

.action-btn {
  cursor: pointer;
  font-size: 16px;
  color: #888;
  margin-right: 10px;
}

.action-btn:hover {
  color: #000;
}

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

  .activity-section {
    grid-column: span 1;
  }

  .sidebar {
    display: none;
    /* Hide sidebar on mobile for now */
  }
}

/* Auth Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

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

.auth-modal {
  background: white;
  width: 380px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
  transform: translateY(20px);
  animation: slideUp 0.3s forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

.auth-modal h2 {
  font-size: 24px;
  margin-bottom: 5px;
  color: #1d1d1f;
}

.modal-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #1d1d1f;
}

.auth-switch {
  margin-top: 20px;
  font-size: 13px;
  color: #666;
}

.auth-switch span {
  color: #409FFF;
  cursor: pointer;
  font-weight: 600;
}

.auth-switch span:hover {
  text-decoration: underline;
}

/* Upload Type Buttons */
.upload-type-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.upload-type-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.upload-type-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: #409FFF;
}

/* Social Login */
.social-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #999;
  font-size: 12px;
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

.social-divider span {
  padding: 0 12px;
}

.social-buttons {
  display: flex;
  gap: 10px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s;
}

.google-btn {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
}

.google-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.facebook-btn {
  background: #1877f2;
  color: white;
  border: none;
}

.facebook-btn:hover {
  background: #166fe5;
}

/* Footer */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 15px 20px;
  text-align: center;
  z-index: 100;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #409FFF;
}

.footer-copy {
  color: #999;
  font-size: 11px;
  margin: 0;
}

/* Cookie Consent Banner - GDPR Compliant */
.cookie-banner {
  position: fixed;
  bottom: 70px;
  left: 20px;
  right: 20px;
  max-width: 550px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 9999;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cookie-icon {
  font-size: 24px;
}

.cookie-header h3 {
  color: #1d1d1f;
  font-size: 16px;
  margin: 0;
}

.cookie-content p {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cookie-content a {
  color: #409FFF;
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s;
}

.cookie-btn.accept {
  background: #409FFF;
  color: white;
}

.cookie-btn.accept:hover {
  background: #3080dd;
}

.cookie-btn.reject {
  background: #f5f5f7;
  color: #666;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-btn.reject:hover {
  background: #eee;
  color: #1d1d1f;
}

.cookie-btn.settings {
  background: #f5f5f7;
  color: #666;
}

.cookie-btn.settings:hover {
  background: #eee;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.cookie-modal {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-modal-header h2 {
  color: #1d1d1f;
  font-size: 18px;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  color: #999;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: #1d1d1f;
}

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

.cookie-modal-intro {
  color: #666;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-modal-intro strong {
  color: #1d1d1f;
}

.cookie-modal-intro a {
  color: #409FFF;
  text-decoration: none;
}

/* Cookie Categories */
.cookie-category {
  background: #f9f9fb;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-category-info h4 {
  color: #1d1d1f;
  font-size: 14px;
  margin: 0;
}

.cookie-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.cookie-badge.required {
  background: rgba(64, 159, 255, 0.15);
  color: #409FFF;
}

.cookie-badge.optional {
  background: #f0f0f0;
  color: #888;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  transition: 0.3s;
  border-radius: 24px;
}

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

.cookie-toggle input:checked+.toggle-slider {
  background-color: #409FFF;
}

.cookie-toggle input:checked+.toggle-slider:before {
  transform: translateX(20px);
}

.cookie-toggle.disabled {
  opacity: 0.7;
}

.cookie-toggle.disabled .toggle-slider {
  cursor: not-allowed;
  background-color: #409FFF;
}

.cookie-category-desc {
  color: #888;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

/* Cookie Details Table */
.cookie-details {
  margin-top: 12px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.cookie-table th,
.cookie-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cookie-table th {
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
}

.cookie-table td {
  color: #666;
}

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

/* Legal Info Section */
.cookie-legal-info {
  margin-top: 20px;
  padding: 16px;
  background: rgba(64, 159, 255, 0.06);
  border-radius: 10px;
  border-left: 3px solid #409FFF;
}

.cookie-legal-info p {
  color: #666;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.cookie-legal-info p:last-child {
  margin-bottom: 0;
}

.cookie-legal-info strong {
  color: #1d1d1f;
}

.cookie-legal-info a {
  color: #409FFF;
  text-decoration: none;
}

.cookie-legal-info a:hover {
  text-decoration: underline;
}

/* Modal Footer */
.cookie-modal-footer {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.cookie-modal-footer .cookie-btn {
  flex: 1;
  min-width: 120px;
}

/* Floating Cookie Settings Button */
.cookie-settings-float {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1d1d1f;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  transition: all 0.3s;
}

.cookie-settings-float:hover {
  transform: scale(1.1);
  background: #f5f5f7;
  border-color: #409FFF;
  color: #409FFF;
}

/* Responsive */
@media (max-width: 600px) {
  .cookie-banner {
    bottom: 60px;
    left: 10px;
    right: 10px;
    padding: 16px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .cookie-modal {
    max-height: 85vh;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }

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

  .cookie-settings-float {
    bottom: 70px;
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}