/* Modern Tempest Guild Website - Complete Redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@400;700;900&display=swap');

:root {
  /* Tempest Color Palette - Storm/Ocean Theme */
  --primary-blue: #0ea5e9;
  --primary-dark: #0284c7;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --storm-gray: #334155;
  --deep-slate: #1e293b;
  --charcoal: #0f172a;
  --silver: #e2e8f0;
  --white: #ffffff;
  --gold: #fbbf24;
  --warning-red: #ef4444;
  --success-green: #10b981;
  
  /* Background Gradients */
  --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --bg-secondary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  --bg-card: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
  --bg-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Orbitron', 'Inter', sans-serif;
  
  /* Spacing */
  --container-max-width: 1400px;
  --section-padding: 5rem 0;
  --card-padding: 2rem;
  
  /* Shadows & Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--silver);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Container System */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: var(--silver);
  font-weight: 400;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Modern Navigation */
.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-blue) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand::before {
  content: "⚡";
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px var(--primary-blue));
}

.navbar-nav .nav-link {
  color: var(--silver) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-blue) !important;
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* User Dropdown Styling */
.dropdown-menu {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
}

.dropdown-header {
  color: var(--primary-blue) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  padding: 0.75rem 1rem 0.5rem;
}

.dropdown-item {
  color: var(--silver);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary-blue);
  transform: translateX(5px);
}

.dropdown-item.text-danger {
  color: #ef4444 !important;
}

.dropdown-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171 !important;
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

/* Modern Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/uploads/screenshots/screenshot_676361991bcbd5.92488919.jpg') center/cover;
  filter: brightness(0.3) contrast(1.2);
  z-index: 1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-hero);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #0ea5e9, #06b6d4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.3)); }
  100% { filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.6)); }
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  color: var(--white);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--silver);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-green), #059669);
  color: var(--white);
}

.btn-warning {
  background: linear-gradient(135deg, var(--gold), #f59e0b);
  color: var(--charcoal);
  font-weight: 700;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Modern Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--card-padding);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 165, 233, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.card-body {
  padding: 0;
}

/* Modern Forms */
.form-control, .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25);
  color: var(--white);
}

.form-label {
  color: var(--silver);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Modern Tables */
.table {
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  --bs-table-bg: rgba(15, 23, 42, 0.9) !important;
  --bs-table-striped-bg: rgba(30, 41, 59, 0.3) !important;
}

.table th {
  background: rgba(15, 23, 42, 0.95) !important;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
}

.table td {
  background: rgba(15, 23, 42, 0.8) !important;
  border: none;
  padding: 0.875rem 1.25rem;
  color: #cbd5e1;
  vertical-align: middle;
  font-size: 0.9rem;
}

.table tbody tr {
  background: rgba(15, 23, 42, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background: rgba(30, 41, 59, 0.6) !important;
}

/* Table badges with darker theme */
.table .badge {
  font-size: 0.75rem;
  font-weight: 500;
}

.table .badge.bg-secondary {
  background-color: #475569 !important;
  color: #e2e8f0;
}

.table .badge.bg-success {
  background-color: #065f46 !important;
  color: #a7f3d0;
}

.table .badge.bg-info {
  background-color: #0c4a6e !important;
  color: #7dd3fc;
}

.table .text-primary {
  color: #38bdf8 !important;
}

.table .text-warning {
  color: #fbbf24 !important;
}

.table .text-muted {
  color: #94a3b8 !important;
}

/* Server Time Widget */
.server-time {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-blue);
  text-align: center;
  margin: 2rem auto;
  display: inline-block;
  box-shadow: var(--shadow-md);
  animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

/* Alerts */
.alert {
  border: none;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.alert-success {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-left: 4px solid var(--success-green);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-left: 4px solid var(--warning-red);
}

/* Footer */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: auto;
  backdrop-filter: blur(20px);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
    --card-padding: 1.5rem;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Mobile Table Improvements */
  .table-responsive {
    border-radius: var(--radius-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .table {
    min-width: 600px; /* Minimum width for proper table display */
    font-size: 0.8rem;
  }
  
  .table th,
  .table td {
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
  }
  
  .table .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Hide less important columns on very small screens */
  .table .mobile-hide {
    display: none;
  }
  
  /* Compact mobile card layout for roster */
  .roster-mobile-cards {
    display: block;
  }
  
  .roster-mobile-cards .table-responsive {
    display: none;
  }
  
  .roster-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  .roster-card-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  .roster-card-name {
    font-weight: 600;
    color: #38bdf8;
  }
  
  .roster-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Mobile Card Layout for Roster */
  .table-responsive {
    display: none !important;
  }
  
  .roster-mobile-view {
    display: block !important;
  }
  
  .roster-mobile-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    padding: 1rem;
    position: relative;
  }
  
  .roster-mobile-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .roster-mobile-card-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .roster-mobile-card-action {
    text-align: right;
  }
  
  .roster-mobile-card .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Fix mobile card label visibility */
  .roster-mobile-card small.text-muted {
    color: #94a3b8 !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-arrow {
  width: 2px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--primary-blue), transparent);
  position: relative;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--primary-blue);
}

@keyframes scrollBounce {
  0%, 100% { 
    transform: translateY(0);
    opacity: 1;
  }
  50% { 
    transform: translateY(1rem);
    opacity: 0.5;
  }
}

/* Feature Icons */
.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-icon i {
  filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.3));
  transition: all 0.3s ease;
}

.card:hover .feature-icon i {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.5));
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.section-padding {
  padding: var(--section-padding);
}

/* Loading Animation */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.loading-shimmer {
  position: relative;
  overflow: hidden;
}

.loading-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

/* Preview Functionality Styling */
.preview-container {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

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

.preview-stat-card {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.preview-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #38bdf8;
    line-height: 1;
}

.preview-stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.preview-section {
    margin-bottom: 2rem;
}

.preview-section h4 {
    color: #0ea5e9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.preview-character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.preview-character-card {
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    padding: 1rem;
}

.preview-character-name {
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preview-character-details {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
}

.level-change {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.level-change.level-up {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.level-change.level-down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.rank-change {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.validation-errors {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.validation-errors h4 {
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.validation-errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-errors li {
    color: #fca5a5;
    margin: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.validation-errors li:before {
    content: "⚠";
    color: #ef4444;
    position: absolute;
    left: 0;
}

.file-format-info {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.file-format-info h4 {
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

.format-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.format-feature {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Admin Dashboard Styling */
.admin-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.stat-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    color: #38bdf8;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.stat-secondary {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.action-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.action-card.small {
    padding: 1.5rem;
}

.action-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.action-header i {
    color: #38bdf8;
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.action-header h4,
.action-header h5 {
    color: #f1f5f9;
    margin: 0;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.action-buttons .btn {
    flex: 1;
    min-width: 140px;
}

.tab-content-area {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    padding: 2rem;
}

/* Badge adjustments */
.badge.bg-danger {
    background-color: #ef4444 !important;
}

/* Extra small button size */
.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .action-buttons .btn {
        flex: none;
        min-width: 120px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .action-card {
        margin-bottom: 1rem;
    }
}