/* Alliance Images - Main Stylesheet */
/* EVE Online-inspired Theme for Alliance Images */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0a0e27 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23111a3a" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="%230a0e27"/><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  color: #c0c9d6;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #0f1429 0%, #1a1f3a 100%);
  border-bottom: 2px solid #00d9ff;
  padding: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.1);
  margin-bottom: 2rem;
}

/* Main Content - Push footer to bottom */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-header h1 {
  color: #00d9ff;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
  margin: 0;
}

/* Header Layout - Refactored for better alignment */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-logo {
  max-height: 50px;
  width: auto;
  border-radius: 4px;
}

.site-title {
  margin: 0;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  flex-grow: 1;
  margin: 0 1rem;
}

.header-nav a {
  padding: 0.6rem 1rem;
  background: rgba(0, 217, 255, 0.1);
  color: #00d9ff;
  text-decoration: none;
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  display: inline-block;
}

.header-nav a:hover {
  background: rgba(0, 217, 255, 0.25);
  border-color: #00d9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 217, 255, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.eve-time-display {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #9db4c7;
  padding: 0 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  margin-right: 0.25rem;
}

.eve-time-label {
  color: #7b8fa1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eve-time-clock {
  color: #00d9ff;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.logout-form {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none;
}

.btn-logout,
.btn-login {
  padding: 0.6rem 1rem;
  background: rgba(0, 217, 255, 0.1);
  color: #00d9ff;
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.btn-logout:hover,
.btn-login:hover {
  background: rgba(0, 217, 255, 0.25);
  border-color: #00d9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 217, 255, 0.2);
}

.offline-mode-form {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none;
}

.btn-offline-toggle {
  padding: 0.6rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-offline-toggle:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #86efac;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(34, 197, 94, 0.2);
}

.btn-offline-toggle.offline-active {
  background: rgba(234, 179, 8, 0.15);
  color: #fbbf24;
  border-color: rgba(234, 179, 8, 0.5);
}

.btn-offline-toggle.offline-active:hover {
  background: rgba(234, 179, 8, 0.25);
  border-color: #fbbf24;
  box-shadow: 0 4px 8px rgba(234, 179, 8, 0.2);
}

.offline-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86efac;
  animation: pulse 1s infinite;
}

.btn-offline-toggle.offline-active .offline-indicator {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.wrap {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
nav, ul {
  list-style: none;
}

nav ul, .nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

nav a, .nav-links a {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 217, 255, 0.1);
  color: #00d9ff;
  text-decoration: none;
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

nav a:hover, .nav-links a:hover {
  background: rgba(0, 217, 255, 0.25);
  border-color: #00d9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 217, 255, 0.2);
}

/* Main Content Sections */
section {
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

section h2 {
  color: #00d9ff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 217, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

section h3 {
  color: #7dd3fc;
  font-size: 1.1rem;
  margin: 1.25rem 0 0.75rem 0;
}

/* Forms and Inputs */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: block;
  color: #9db4c7;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="file"],
select,
textarea {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.2);
  color: #c0c9d6;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #00d9ff;
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.3);
}

/* Buttons */
button, .btn {
  background: linear-gradient(135deg, #00a8cc 0%, #0088aa 100%);
  color: #fff;
  border: 1px solid #00d9ff;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 168, 204, 0.2);
}

button:hover, .btn:hover {
  background: linear-gradient(135deg, #00d9ff 0%, #00a8cc 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.4);
}

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

button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Primary action buttons */
.btn-primary {
  padding: 0.75rem 1.5rem !important;
  background: rgba(0, 217, 255, 0.15) !important;
  color: #00d9ff !important;
  border: 1px solid rgba(0, 217, 255, 0.4) !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
}

.btn-primary:hover {
  background: rgba(0, 217, 255, 0.25) !important;
  border-color: #00d9ff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3) !important;
}

.btn-primary:active {
  transform: translateY(0) !important;
}

.btn-primary[disabled],
.btn-primary:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Nav-style buttons (used in header nav and dashboard cards) */
.btn-nav {
  padding: 0.6rem 1rem !important;
  background: rgba(0, 217, 255, 0.1) !important;
  color: #00d9ff !important;
  border: 1px solid rgba(0, 217, 255, 0.3) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  margin-top: auto !important;
}

.btn-nav:hover {
  background: rgba(0, 217, 255, 0.25) !important;
  border-color: #00d9ff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 217, 255, 0.2) !important;
}

/* Hero Section - Homepage */
.hero-section {
  background: linear-gradient(135deg, rgba(0, 168, 204, 0.2) 0%, rgba(0, 88, 133, 0.1) 100%),
              linear-gradient(135deg, #1a1f3a 0%, #0f1429 100%);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  margin: 0 0 2rem 0;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background-attachment: fixed;
}

.hero-content h1 {
  color: #00d9ff;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-content p {
  color: #a0afc0;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.btn-hero {
  background: linear-gradient(135deg, #00d9ff 0%, #00a8cc 100%) !important;
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
  border: 2px solid #00d9ff !important;
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.3) !important;
}

.btn-hero:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0, 217, 255, 0.5) !important;
}

.eve-sso-home-login {
  display: inline-block;
  margin: 1rem 0;
  transition: transform 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}

.eve-sso-home-login:hover img {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.eve-sso-home-login:active img {
  transform: scale(0.98);
}

/* Features Section */
.features-section {
  margin: 0 0 2rem 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: rgba(0, 217, 255, 0.5);
  background: rgba(30, 41, 59, 0.95);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 217, 255, 0.15);
}

.feature-card h3 {
  color: #00d9ff;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #a0afc0;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Info Section - How It Works */
.info-section {
  background: linear-gradient(135deg, rgba(0, 168, 204, 0.08) 0%, rgba(0, 88, 133, 0.05) 100%);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  margin: 0;
}

.info-content h2 {
  color: #00d9ff;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 217, 255, 0.3);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00d9ff 0%, #00a8cc 100%);
  color: #000;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.step h4 {
  color: #00d9ff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: #a0afc0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive Design for Homepage */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .info-section {
    padding: 2rem;
  }
}

/* Tables */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

table thead {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 168, 204, 0.1) 100%);
}

table th {
  color: #00d9ff;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(0, 217, 255, 0.3);
}

table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  color: #c0c9d6;
}

table tbody tr {
  background: rgba(15, 20, 41, 0.4);
  transition: all 0.3s ease;
}

table tbody tr:hover {
  background: rgba(0, 217, 255, 0.08);
  transform: scale(1.01);
}

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

/* Cards */
.card, .list-item {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.15);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover, .list-item:hover {
  border-color: rgba(0, 217, 255, 0.4);
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 217, 255, 0.15);
}

.card h3 {
  color: #00d9ff;
  margin-bottom: 0.75rem;
}

.card p {
  color: #a0afc0;
  margin-bottom: 0.5rem;
}

/* Admin Dashboard Grid */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1400px) {
  .admin-dashboard-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1200px) {
  .admin-dashboard-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .admin-dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* User Info */
p {
  margin-bottom: 1rem;
}

.user-info {
  background: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #7dd3fc;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info-left {
  display: flex;
  align-items: center;
}

.user-info-right {
  display: flex;
  align-items: center;
}

.wallet-balance {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00d9ff;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.3s ease;
}

.wallet-balance .balance-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #7dd3fc;
  margin-right: 0.5rem;
}

.wallet-balance:hover {
  color: #7dd3fc;
}

/* Links */
a {
  color: #00d9ff;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted rgba(0, 217, 255, 0.3);
  padding-bottom: 2px;
}

a:hover {
  color: #7dd3fc;
  border-bottom-color: #7dd3fc;
}

/* Messages and Alerts */
.message, .alert {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.message {
  background: rgba(0, 217, 255, 0.1);
  border-color: #00d9ff;
  color: #7dd3fc;
}

.alert {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #fca5a5;
}

.success {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #86efac;
}

/* Images and Previews */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  transition: all 0.3s ease;
}

img:hover {
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.3));
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f1429 0%, #1a1f3a 100%);
  border-top: 2px solid rgba(0, 217, 255, 0.2);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
  color: #7dd3fc;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-content {
    gap: 1rem;
  }

  .header-nav {
    gap: 0.3rem;
  }

  .header-nav a,
  .btn-logout {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .site-header h1 {
    font-size: 1.4rem;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-header h1 {
    width: 100%;
  }

  .header-nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .header-nav a,
  .btn-logout {
    flex: 1;
    min-width: 100px;
    text-align: center;
  }

  .wrap {
    padding: 0 1rem;
  }

  nav ul, .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav a, .nav-links a {
    display: block;
    text-align: center;
  }

  table {
    font-size: 0.9rem;
  }

  table th, table td {
    padding: 0.65rem 0.75rem;
  }

  section {
    padding: 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

.text-muted {
  color: #7b8fa1;
  font-size: 0.9rem;
}

.text-secondary {
  color: #9db4c7;
}

.text-highlight {
  color: #00d9ff;
  font-weight: 600;
}

/* Layout Helpers */
.flex {
  display: flex;
}

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

.flex-col {
  flex-direction: column;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

/* Status Badges */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-approved {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-pending-payment {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Organization Cards */
.org-info-section {
  margin: 2rem 0;
}

.org-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.org-card {
  background: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.org-card:hover {
  border-color: rgba(0, 217, 255, 0.4);
  background: rgba(0, 217, 255, 0.08);
  transform: translateY(-4px);
}

.org-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.org-card h3 {
  color: #00d9ff;
  font-size: 1.3rem;
  margin: 0;
  flex: 1;
}

.org-ticker {
  background: rgba(0, 217, 255, 0.15);
  color: #7dd3fc;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.org-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: transparent;
  border-radius: 6px;
  min-height: 160px;
}

.org-logo {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.org-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.perm-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  min-width: 180px;
}

.perm-yes {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.perm-no {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.org-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Welcome Section */
.welcome-section {
  margin-bottom: 1rem;
}

.welcome-section .user-info {
  margin-bottom: 0;
}

/* Error Message */
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
  border-top: 2px solid #00d9ff;
  margin-top: 3rem;
  padding: 0.75rem 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 1rem;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
  justify-self: start;
}

.footer-copyright p {
  color: #00d9ff;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.2;
}

.footer-ccp {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
}

.footer-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.footer-nav a {
  padding: 0.25rem 0.6rem;
  background: rgba(0, 217, 255, 0.08);
  color: #7dd3fc;
  text-decoration: none;
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 3px;
  transition: all 0.3s ease;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.footer-nav a:hover {
  background: rgba(0, 217, 255, 0.2);
  border-color: #00d9ff;
  color: #00d9ff;
  box-shadow: 0 2px 6px rgba(0, 217, 255, 0.15);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 3px;
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-indicator:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}

.status-indicator.degraded {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.3);
  color: #facc15;
}

.status-indicator.degraded:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: #eab308;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.2);
}

.status-indicator.outage {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.status-indicator.outage:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  }
}

/* Footer Status Indicator - Fixed Size */
.footer-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 3px;
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-status-indicator:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.2);
  transform: translateY(-1px);
}

.footer-status-indicator.degraded {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.3);
  color: #facc15;
}

.footer-status-indicator.degraded:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: #eab308;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.2);
}

.footer-status-indicator.outage {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.footer-status-indicator.outage:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

.footer-status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .site-footer {
    margin-top: 2rem;
    padding: 0.65rem 0.75rem;
  }

  .footer-container {
    gap: 1.5rem;
  }

  .footer-nav {
    gap: 0.4rem;
  }

  .footer-nav a {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }

  .status-indicator {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 0.6rem 0.5rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-copyright p {
    font-size: 0.75rem;
  }

  .footer-copyright p:first-child {
    font-size: 0.8rem;
  }
}