/* Comfortaa Elegant Theme */
:root {
  --bg: #f4f6fb;
  --bg-accent: #e9edfb;
  --card: #ffffff;
  --text: #1f2430;
  --text-dim: #5b6170;
  --primary: #5c6ac4;
  --primary-dark: #39469c;
  --secondary: #9ca3c4;
  --success: #22c55e;
  --danger: #ef4444;
  --border: #e5e8f0;
  --radius-lg: 24px;
  --radius: 14px;
  --shadow: 0 25px 60px rgba(92, 106, 196, 0.15);
  --card-padding: clamp(1.75rem, 3vw, 2.75rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comfortaa', 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(92,106,196,.18), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(168,85,247,.18), transparent 40%),
              var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
}

.container,
.login-shell {
  width: min(1100px, 100%);
  padding: clamp(1.5rem, 3vw, 3rem);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-badge {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, #5c6ac4, #a855f7);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 20px 30px rgba(92,106,196,.3);
  cursor: pointer;
}

.brand-badge i {
  font-size: 1.8rem;
}

.header-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.card-title {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), #8f9be8);
  box-shadow: 0 18px 35px rgba(92, 106, 196, 0.35);
}

.btn-secondary {
  background: rgba(92, 106, 196, 0.12);
  color: var(--text);
}

.btn-danger { background: var(--danger); }
.btn-success { background: var(--success); }

.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.table-container {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden; /* Ensure rounded corners clip content */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.table-container::-webkit-scrollbar {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  background-color: transparent; /* Ensure no white gaps */
}

thead {
  background: #f9faff;
  width: 100%;
}

th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  text-align: left;
}

th.col-qr, td.col-qr {
  text-align: center;
}

.col-title {
  width: auto;
  min-width: 150px;
}

.col-status {
  width: 120px;
}

.col-actions {
  width: 1%;
  white-space: nowrap;
}

th {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: .75rem;
  color: var(--text-dim);
  /* background: #f9faff; Removed from here, moved to thead/tr for full coverage */
}

thead tr {
  background: #f9faff;
}

tbody tr:hover {
  background: #fafbff;
}

.badge {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}

.badge-active {
  background: rgba(34,197,94,.15);
  color: #1f9254;
}

.badge-inactive {
  background: rgba(239,68,68,.15);
  color: #c0392b;
}

.form-group { margin-bottom: 1.25rem; }

label {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: .45rem;
  display: inline-block;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #f8f9ff;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
}

.checkbox-inline input {
  width: 18px;
  height: 18px;
}

input, textarea, select {
  width: 100%;
  background: #f8f9ff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
  transition: border .2s ease, box-shadow .2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92, 106, 196, 0.18);
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%235b6170' d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}

select:hover {
  background-color: #f3f5ff;
}

.qr-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border: 2px dashed rgba(92,106,196,.3);
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #fafbff;
  text-align: center;
}

.qr-preview canvas {
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 36, 48, 0.12);
}

.alert {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success { background: rgba(34,197,94,.15); color: #1f9254; }
.alert-error { background: rgba(239,68,68,.15); color: #c0392b; }
.alert-info { background: rgba(92,106,196,.15); color: var(--primary-dark); }

.login-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: min(440px, 100%);
  padding: 3rem;
  background: var(--card);
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.login-card h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.loading {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

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

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 24, 41, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  box-shadow: var(--shadow);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.modal-lg {
  max-width: 800px;
}

.modal::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

@media (max-width: 480px) {
  .modal {
    padding: 1.25rem;
    max-height: 95vh;
  }
  
  /* Força ajuste de padding em modal-body que tenha estilo inline */
  .modal-body {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  .modal-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dim);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.5rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-dim);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  :root { --card-padding: 1.5rem; }
  header { flex-direction: column; align-items: flex-start; }
  th, td { padding: .8rem; }
  .btn { width: 100%; justify-content: center; }
}

.hidden { display: none !important; }

.input-with-icon {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.input-with-icon input {
  flex: 1;
}

.url-builder {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  background: #f8f9ff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border .2s ease, box-shadow .2s ease;
}

.url-builder:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92, 106, 196, 0.18);
}

.url-builder span {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  user-select: none;
}

.url-builder input {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: auto;
  flex: 1;
  min-width: 80px;
  box-shadow: none !important;
  color: var(--primary-dark);
  font-weight: 600;
}

.url-builder input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
  opacity: 0.6;
}

.url-builder input:focus {
  outline: none;
  border: none;
}

.icon-button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.link-button {
  border: none;
  background: none;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.col-destination {
  max-width: 320px;
}

.col-qr {
  text-align: center;
  width: 60px;
}

.col-destination a {
  display: inline-block;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start; /* Or center if preferred, but usually actions are left-aligned or close to content */
}

.actions .icon-button {
  font-size: 1.15rem;
  color: var(--text-dim);
  transition: color 0.2s, transform 0.2s;
  display: flex; /* Better icon alignment */
  align-items: center;
  justify-content: center;
  width: 32px; /* Touch target size */
  height: 32px;
  border-radius: 50%;
}

.actions .icon-button:hover {
  color: var(--primary);
  background: rgba(92, 106, 196, 0.08); /* Subtle hover bg */
}

/* Sidebar & Layout */
.app-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: #0f172a;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  transition: width 0.3s ease, transform 0.3s ease;
  box-shadow: 4px 0 24px rgba(0,0,0,0.05);
  overflow: visible; /* Allow toggle button to overlap */
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar-brand {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Changed from space-between */
  gap: 1rem;
  font-size: 1.2rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  height: 80px;
  position: relative;
  overflow: hidden; /* Hide text when it overflows during transition */
  white-space: nowrap;
}

.sidebar.collapsed .sidebar-brand span {
  opacity: 0;
  pointer-events: none;
  display: none; /* Force remove from layout so icon centers */
}

.sidebar.collapsed .sidebar-brand i {
  font-size: 1.5rem; /* Make icon slightly larger when collapsed */
  margin: 0;
}

.sidebar.collapsed .sidebar-brand {
  justify-content: center;
  padding: 1rem;
}

.toggle-btn {
  position: absolute;
  right: 0;
  top: 40px; /* Exact center of 80px header */
  width: 30px;
  height: 30px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.15);
  color: #f8fafc;
  cursor: pointer;
  font-size: 0.8rem;
  border-radius: 50%;
  transform: translate(50%, -50%); /* Centered on the edge (50% right) and vertically (50% up) */
  transition: transform 0.3s ease, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 102;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.toggle-btn:hover {
  background: #1e293b;
  border-color: rgba(255,255,255,0.3);
}

.sidebar.collapsed .toggle-btn {
  transform: translate(50%, -50%) rotate(180deg);
}

/* Remove old positioning rules */
/* .sidebar.collapsed .toggle-btn { ... } */

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 1rem;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 0.5rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: #94a3b8;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar.collapsed .sidebar-nav a {
  justify-content: center;
  padding: 1rem 0;
}

.sidebar.collapsed .sidebar-nav a span,
.sidebar.collapsed .sidebar-nav .divider {
  display: none;
}

.sidebar.collapsed .sidebar-nav a i {
  font-size: 1.2rem;
  margin: 0;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
}

.sidebar-nav .divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 1rem 0;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.sidebar.collapsed .sidebar-footer {
  padding: 1rem;
}

.btn-logout {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  padding: 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar.collapsed .btn-logout span {
  display: none;
}

.sidebar.collapsed .btn-logout {
  padding: 0.8rem 0;
}

.btn-logout:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.main-content {
  flex: 1;
  margin-left: 280px;
  padding: 2rem;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}

.main-content.expanded {
  margin-left: 80px;
}

.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  /* Sticky header configuration */
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg);
  
  /* Expand to cover parent padding and stick to edges */
  margin: -2rem -2rem 4rem -2rem;
  padding: 1.5rem 2rem 1.5rem 2rem;
  
  /* Visual separation */
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* Container inside navbar to center content on wide screens */
.navbar-left, .navbar-right {
  /* Ensure they don't get too close on small screens */
  flex-shrink: 0;
}

/* REMOVED CENTER ALIGNMENT MEDIA QUERY TO KEEP LEFT ALIGNMENT */
/* @media (min-width: 1200px) { ... } */

.navbar-left h1 {
  font-size: 1.8rem;
  color: var(--text);
  font-weight: 700;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.plan-badge {
  background: #10b981;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.plan-badge:hover {
  transform: translateY(-2px);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Modern Form Enhancements */
.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.btn-back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--primary);
}

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

.input-icon-wrapper i {
  position: absolute;
  left: 1.2rem;
  color: var(--text-dim);
  pointer-events: none;
  font-size: 1rem;
}

.input-icon-wrapper input,
.input-icon-wrapper select {
  padding-left: 3rem; /* Make space for icon */
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

/* ========================================= */
/* MOBILE RESPONSIVE ENHANCEMENTS            */
/* ========================================= */

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 1rem;
}

/* Responsive Breakpoint (Tablet/Mobile) */
@media (max-width: 900px) {
  /* Show Mobile Menu Button */
  .mobile-menu-btn {
    display: block;
  }

  /* Adjust Sidebar for Mobile (Off-canvas) */
  .sidebar {
    transform: translateX(-100%);
    width: 280px !important; /* Force width */
    height: 100vh;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  /* Hide Desktop Toggle Button */
  .toggle-btn {
    display: none;
  }

  /* Adjust Main Content */
  .main-content {
    margin-left: 0 !important; /* Override collapsed/expanded margins */
    width: 100%;
    padding: 1.5rem;
  }
  
  .top-navbar {
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
  }

  /* Navbar Adjustments */
  .navbar-left h1 {
    font-size: 1.4rem;
  }
  
  .navbar-right {
    gap: 0.8rem;
  }
  
  .plan-badge span {
    display: none; /* Hide text, keep icon */
  }
  
  .plan-badge {
    padding: 0.5rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  
  /* Table Responsiveness */
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    min-width: 600px; /* Force scroll if too narrow */
  }
  
  /* Form Adjustments */
  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .card-header .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Sidebar Overlay */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 95; /* Below sidebar (100) but above content */
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Modals */
  .modal {
    width: 90%;
    padding: 1.5rem;
  }

  /* Force full sidebar content visibility on mobile regardless of collapsed state */
  .sidebar.collapsed .sidebar-brand span,
  .sidebar.collapsed .sidebar-nav a span,
  .sidebar.collapsed .btn-logout span {
    display: inline-block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .sidebar.collapsed .sidebar-nav .divider {
    display: block !important;
  }

  .sidebar.collapsed .sidebar-brand {
    justify-content: flex-start !important;
    padding: 1.5rem !important;
  }
  
  .sidebar.collapsed .sidebar-nav a {
    justify-content: flex-start !important;
    padding: 1rem !important;
  }
  
  .sidebar.collapsed .btn-logout {
    padding: 0.8rem !important;
  }

  .sidebar.collapsed .sidebar-brand i {
    margin-right: 0 !important;
    font-size: inherit !important;
  }
}

/* Pricing Page Styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(92, 106, 196, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(to bottom, #ffffff, #f8faff);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(92, 106, 196, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.pricing-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.pricing-header .price span {
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 400;
}

.pricing-header p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.pricing-features li.disabled {
  color: var(--text-dim);
  opacity: 0.6;
}

.pricing-features li i {
  color: var(--success);
}

.pricing-features li.disabled i {
  color: var(--text-dim);
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text) !important;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: transparent;
}

/* Footer */
.app-footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.app-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.app-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-footer-links {
  display: flex;
  gap: 1.5rem;
}

.app-footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.app-footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .app-footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .app-footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
