@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #6366f1;
  --secondary-color: #a855f7;
  --bg-color: #0d1117;
  --panel-bg: rgba(23, 28, 38, 0.7);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition-speed: 0.3s;
}

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

body {
  background: radial-gradient(circle at top left, #1e1b4b, #0d1117);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body.no-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Animations */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
  animation: float 15s infinite ease-in-out alternate;
}

body::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 60%);
  filter: blur(80px);
  opacity: 0.1;
  z-index: -1;
  animation: float 20s infinite ease-in-out reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Main Container (Login/Dashboard) */
.glass-container {
  background: var(--panel-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  width: 100%;
  max-width: 450px;
  padding: 3rem;
  text-align: center;
  position: relative;
  z-index: 10;
  animation: fadeIn 0.6s ease-out;
}

.dashboard-container {
  max-width: 1000px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  margin-left: 5px;
}

input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all var(--transition-speed);
}

input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* Buttons */
.btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  margin-top: 2rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Links */
.footer-links {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* Dashboard UI */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.level-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.3s;
  text-align: left;
}

.level-card:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-color);
}

.level-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.level-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.access-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-color);
  border-radius: 100px;
  font-size: 0.75rem;
  margin-top: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.level-content {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.level-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.users-table th,
.users-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.users-table th {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}

.users-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Users Panel */
.users-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  height: 100vh;
  background: var(--panel-bg);
  border-left: 1px solid var(--glass-border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: transform 0.4s ease-in-out;
}

.users-panel.hidden {
  transform: translateX(100%);
}

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

.users-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.users-panel-header h3 {
  margin: 0;
  color: var(--primary-color);
}

.btn-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-close:hover {
  background: rgba(239, 68, 68, 0.4);
}

.users-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

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

.users-panel-table th,
.users-panel-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.users-panel-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.users-panel-table td {
  font-size: 0.85rem;
}

.users-panel-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.user-info {
  text-align: right;
}

.user-info .name {
  font-weight: 700;
}

.user-info .role {
  font-size: 0.8rem;
  color: var(--primary-color);
}

.profile-pic {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Panel Styles */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.panel-header h2 {
  color: var(--primary-color);
  margin: 0;
}

.form-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-panel h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-panel .form-group {
  margin-bottom: 1rem;
}

.form-panel textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  resize: vertical;
}

.form-panel select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
}

.role-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.role-superadmin {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.role-admin {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.role-user {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.status-badge.status-active,
.status-select.status-active,
span[class*="status-active"] {
  background: rgba(16, 185, 129, 0.4) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.6) !important;
}

.status-badge.status-pending,
.status-select.status-pending,
span[class*="status-pending"] {
  background: rgb(255, 174, 0.5) !important;
  color: #ff0000 !important;
  border: 1px solid rgb(255, 115, 0) !important;
}

.status-badge.status-suspended,
.status-select.status-suspended,
span[class*="status-suspended"] {
  background: rgba(180, 83, 9, 0.5) !important;
  color: #d97706 !important;
  border: 1px solid rgba(180, 83, 9, 0.7) !important;
}

.status-badge.status-new,
.status-select.status-new,
span[class*="status-new"] {
  background: rgba(59, 130, 246, 0.4) !important;
  color: #3b82f6 !important;
  border: 1px solid rgba(59, 130, 246, 0.6) !important;
}

.status-badge.status-contacted,
.status-select.status-contacted,
span[class*="status-contacted"] {
  background: rgba(251, 146, 60, 0.4) !important;
  color: #fb923c !important;
  border: 1px solid rgba(251, 146, 60, 0.6) !important;
}

.status-badge.status-qualified,
.status-select.status-qualified,
span[class*="status-qualified"] {
  background: rgba(16, 185, 129, 0.4) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.6) !important;
}

.status-badge.status-closed,
.status-select.status-closed,
span[class*="status-closed"] {
  background: rgba(107, 114, 128, 0.4) !important;
  color: #6b7280 !important;
  border: 1px solid rgba(107, 114, 128, 0.6) !important;
}

.status-inactive {
  background: rgba(107, 114, 128, 0.2);
  color: #6b7280;
}

.status-select {
  padding: 0.4rem 0.8rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 100px;
}

.status-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.status-select option {
  background: #1a1a2e;
  color: #fff;
}

.level-select {
  padding: 0.4rem 0.8rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 90px;
}

.level-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.level-select option {
  background: #1a1a2e;
  color: #fff;
}

.level-badge {
  padding: 0.4rem 0.8rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  color: #10b981;
  font-size: 0.85rem;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: rgba(99, 102, 241, 0.4);
}

.btn-icon.btn-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.btn-icon.btn-danger:hover {
  background: rgba(239, 68, 68, 0.4);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  width: auto;
}

.btn-warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-success {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.info-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
}

/* Dashboard Layout with Sidebar */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  width: 250px;
  background: var(--panel-bg);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.sidebar-header h2 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 0;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
}

.nav-item i {
  width: 20px;
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.btn-logout {
  width: 100%;
  padding: 0.8rem;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.main-content {
  flex: 1;
  margin-left: 250px;
  display: flex;
  flex-direction: column;
}

.top-bar {
  background: var(--panel-bg);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.profile-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-role {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.user-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.content-area {
  padding: 2rem;
  flex: 1;
}

/* Dashboard Stats */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 0;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-color);
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Tabs */
.tabs-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.tab-btn {
  padding: 0.7rem 1.2rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

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

.tab-content {
  overflow-x: auto;
}

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

.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.data-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Leads Grid - Property Cards */
.leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.lead-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.lead-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.lead-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
}

.lead-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-card-content {
  padding: 1.25rem;
}

.lead-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.lead-card-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.lead-card-info i {
  width: 16px;
  color: var(--primary-color);
}

.lead-card-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.lead-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

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

.dashboard-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

.dashboard-header select,
.lead-card-actions select {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--glass-border) !important;
  padding: 0.5rem;
  border-radius: 8px;
}

.dashboard-header select option,
.lead-card-actions select option {
  background: #1a1a2e !important;
  color: var(--text-primary) !important;
}

.assigned-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  color: #10b981;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.assigned-badge:hover {
  background: rgba(16, 185, 129, 0.3);
}

.modal-select {
  background: #1a1a2e !important;
  color: white !important;
}

.modal-select option {
  background: #1a1a2e !important;
  color: white !important;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--glass-border) !important;
}

.modal-form select option {
  background: #1a1a2e !important;
  color: white !important;
}

.modal-form .form-group input,
.modal-form .form-group textarea,
.modal-form .form-group select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.modal-form .form-group select option {
  background: #1a1a2e;
  color: white;
}

/* File Input Styling */
input[type="file"] {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-secondary) !important;
  border: 1px dashed var(--glass-border) !important;
  border-radius: 8px !important;
  padding: 0.75rem !important;
  width: 100% !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="file"]:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--primary-color) !important;
}

input[type="file"]::file-selector-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
  font-family: inherit;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

input[type="file"]::file-selector-button:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.tv-toggle-btn {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 15px 8px !important;
  font-size: 12px;
}