﻿/* Reset βασικών στοιχείων */
* { box-sizing: border-box; }

/* ===========================
   GLOBAL DARK THEME ROOT
=========================== */
html, body {
    margin: 0;
    padding: 0;
    background: #0d1117; /* aviation dark */
    color: #c9d1d9; /* muted off-white */
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}
.logo a { display: inline-block; }

.logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo img:hover { transform: scale(1.05); }
/* FIX: Sticky elements require block layout */
body {
  display: block !important;
}

/* ===========================
   HEADER / NAVIGATION
   =========================== */
/* OLD NAVBAR (disabled – replaced by Solid Dark Navbar)
.navbar {
  background-color: #006994;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;

  /* STICKY HEADER
  position: sticky;
  top: 0;
  z-index: 9999;
}

.logo a { display: inline-block; }

.logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo img:hover { transform: scale(1.05); }

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navbar li { position: relative; margin: 0 15px; }

.navbar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:hover { color: #ffd700; }

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #006994;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 9999;
  flex-direction: column;
}

.navbar li:hover .dropdown-content { display: flex; }

.dropdown-content a {
  display: block;
  padding: 10px;
  font-weight: normal;
  color: #ffffff;
}

.dropdown-content a:hover {
  background-color: #004d66;
  color: #ffd700;
}

.arrow { display: inline-block; transition: transform 0.3s ease; }
.navbar li:hover .arrow { transform: rotate(180deg); }
*/
/* ===========================
   PAGE TITLE (Flight Schedule)
   =========================== */
.page-title {
  position: sticky;
  top: 60px; /* κάτω από το navbar */
  background: #e67451; /* ίδιο με το body */
  padding: 10px 0;
  z-index: 500;
  font-size: 26px;
  font-weight: bold;
}

/* ===========================
   TABLE (Schedules)
   =========================== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  table-layout: fixed
}

.schedule-table th {
  background: #003366;
  color: white;
  padding: 10px;
  text-align: center;
  
  /* STICKY TABLE HEADER */
  position: sticky;
  top: 110px; /* navbar + page-title */
  z-index: 400;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.schedule-table td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

/* Hover highlight */
.schedule-table tr:hover {
  background: #e6f0ff !important;
  transition: 0.2s;
}

.schedule-table tr:hover td {
  color: #000 !important;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-aviation-blue {
  background: #0055aa;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.btn-aviation-blue:hover {
  background: #003f7f;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .schedule-table {
    font-size: 14px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 6px;
  }

  .page-title {
    font-size: 20px;
    top: 50px;
  }

  .btn-aviation-blue {
    padding: 4px 8px;
    font-size: 12px;
  }
}

/* ===========================
   OTHER PAGE ELEMENTS
   (kept exactly as you had them)
   =========================== */

.two-columns .column {
  background-color: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #ffffff;
}

.map-section {
  background-color: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.map-section h2 { color: #ffd700; }

#map {
  border: 2px solid #ccc;
  border-radius: 8px;
}

.staff-container {
  background-color: #d9d9d9;
  color: #333;
  border: 1px solid #bbb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  line-height: 1.6;
}

.staff-container h1 {
  text-align: center;
  color: #006994;
  margin-bottom: 20px;
}

.staff-container h2 { margin-top: 25px; }

.terms-box {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: linear-gradient(135deg, #f9f9f9, #eef3f9);
  border: 2px solid #ffd700;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: #333;
}

.terms-box h1, .terms-box h2 {
  text-align: center;
  color: #006994;
  margin-bottom: 20px;
}

.terms-box p {
  line-height: 1.6;
  margin-bottom: 12px;
}

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 20px;
}

.join-column {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.join-column label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #333 !important;
}

.join-column input,
.join-column select,
.join-column textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

@media (max-width: 768px) {
  .join-grid {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   MOBILE CARD LAYOUT FOR FLIGHTS
   =========================== */

@media (max-width: 768px) {

    /* Κρύβουμε τον πίνακα */
    .schedule-table {
        display: none;
    }

    /* Container για τις κάρτες */
    .flight-card {
        background: rgba(255,255,255,0.15);
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        color: #fff;
    }

    .flight-card h3 {
        margin: 0 0 10px 0;
        font-size: 20px;
        color: #ffd700;
    }

    .flight-card .row {
        margin: 5px 0;
        font-size: 16px;
    }

    .flight-card .label {
        font-weight: bold;
        color: #fff;
    }

    .flight-card .value {
        color: #fff;
    }

    .flight-card .btn-aviation-blue {
        display: inline-block;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}
/* Container του τίτλου */
.welcome {
    text-align: center;
    margin-top: 40px;
    position: relative;
    padding-bottom: 30px;
}

/* Ο τίτλος */
.welcome h1 {
    font-size: 42px;
    font-weight: 700;
    color: #003366; /* aviation blue */
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Χρυσή γραμμή σε όλο το πλάτος */
.welcome::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #e6b800; /* gold */
    transform: translateX(-50%);
    transition: width 0.5s ease;
}

/* Animation στο hover */
.welcome:hover::after {
    width: 100%;
}
/* ===========================
   PREMIUM STICKY FILTERS BAR
   =========================== */

#filtersBar {
    position: sticky !important;
    top: 110px; /* navbar (60px) + page-title (50px) */
    z-index: 900;
    background: linear-gradient(90deg, #004aad, #0066cc);
    padding: 12px 15px;
    border-bottom: 2px solid #004aad;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
	
}

/* Labels inside filters */
#filtersBar label {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Selects */
#filtersBar select,
#filtersBar input {
    background: #ffffff;
    color: #003366;
    border: 2px solid #ffd700;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
}

/* ===========================
   STICKY TABLE HEADER (SYNCED)
   =========================== */

.schedule-table thead th {
    position: sticky;
    top: 152px; /* 110 + 42 */
    background: #003366;
    color: #fff;
    z-index: 800;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	margin-top: 0;
}
.btn-primary {
    background: linear-gradient(90deg, #004aad, #0066cc);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;

    border-bottom: 3px solid #003366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);

    transition: all 0.25s ease-in-out;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0066cc, #0080ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}
/* Profile edit colors fix */
.profile-edit-wrapper,
.profile-edit-wrapper label,
.profile-edit-wrapper input,
.profile-edit-wrapper textarea,
.profile-edit-wrapper .profile-edit-main h2,
.profile-edit-wrapper .profile-edit-main p {
    color: #222 !important;
}

.profile-edit-wrapper input,
.profile-edit-wrapper textarea {
    background-color: #ffffff;
    border: 1px solid #ccc;
}
.pulse-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    background: #cc0000;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.staff-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.staff-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #003366;
}

.staff-card h3 {
    margin: 10px 0 5px;
    color: #003366;
    font-size: 20px;
    font-weight: 700;
}

.staff-role {
    font-weight: bold;
    color: #0055aa;
    margin-bottom: 10px;
    font-size: 16px;
}

.staff-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}
/* ===========================
   HOME PAGE CAROUSEL (NAMESPACE)
=========================== */

.home-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}
/* 16:9 aspect ratio */
.home-carousel .slides {
    width: 100%;
    height: calc(100vw * 9 / 16);   /* 16:9 */
    max-height: 500px;              /* μικρότερο ύψος για desktop */
    min-height: 260px;              /* mobile */
}

.home-carousel .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation buttons */
.home-carousel .carousel-prev,
.home-carousel .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.4) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 15px !important;
    cursor: pointer;
}

/* Left button */
.home-carousel .carousel-prev {
    left: 10px;
}

/* Right button */
.home-carousel .carousel-next {
    right: 10px;
}

/* Indicators */
.home-carousel .indicators {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.home-carousel .dot {
    width: 12px;
    height: 12px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.home-carousel .dot.active {
    background: #fff;
}

/* Crop images correctly */
.home-carousel .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Base for non-slide effects */
.home-carousel.effect-fade .slides,
.home-carousel.effect-zoom .slides,
.home-carousel.effect-kenburns .slides {
    position: relative;
    display: block;
}

.home-carousel.effect-fade .slides img,
.home-carousel.effect-zoom .slides img,
.home-carousel.effect-kenburns .slides img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease, transform 1.2s ease;
}

/* Active image visible */
.home-carousel.effect-fade .slides img.active,
.home-carousel.effect-zoom .slides img.active,
.home-carousel.effect-kenburns .slides img.active {
    opacity: 1;
}
.home-carousel.effect-zoom .slides img.active {
    transform: scale(1.05);
}
@keyframes kenburnsAnim {
    from {
        transform: scale(1.05) translate3d(-2%, -2%, 0);
    }
    to {
        transform: scale(1.12) translate3d(2%, 2%, 0);
    }
}

.home-carousel.effect-kenburns .slides img.active {
    animation: kenburnsAnim 8s ease-in-out infinite alternate;
}

/* Download Page */
.download-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.download-section h2 {
    color: #00aaff;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.download-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.download-card:hover {
    border-color: #00aaff;
    transform: translateY(-3px);
}

.download-card .icon {
    margin-bottom: 10px;
}

.download-card h3 {
    margin: 10px 0 6px 0;
    color: #e2e8f0;
}

.download-card p {
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 12px;
}

.btn-download {
    display: inline-block;
    padding: 8px 16px;
    background: #00aaff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.btn-download:hover {
    background: #0088cc;
}
.admin-form {
    margin: 20px auto;
    background: #0f172a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #1e293b;
}

.admin-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #e2e8f0;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #1e293b;
    color: #fff;
}

.admin-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #00aaff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.admin-form button:hover {
    background: #0088cc;
}

.alert.success {
    background: #065f46;
    color: #d1fae5;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}
/* ΜΟΝΟ για τη φόρμα των downloads */
.admin-downloads-form {
    max-width: 900px;
    margin: 20px auto;
    background: #0f172a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #1e293b;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

/* Labels */
.admin-downloads-form label {
    display: block;
    margin-bottom: 5px;
    color: #e2e8f0;
}

/* Inputs */
.admin-downloads-form input,
.admin-downloads-form textarea,
.admin-downloads-form select {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #1e293b;
    color: #fff;
}

/* Textarea */
.admin-downloads-form textarea {
    height: 120px;
    resize: vertical;
}

/* Full width fields */
.admin-downloads-form .full-width {
    grid-column: 1 / -1;
}

/* Button full width */
.admin-downloads-form button {
    grid-column: 1 / -1;
    padding: 12px 20px;
    background: #00aaff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.admin-downloads-form button:hover {
    background: #0088cc;
}

/* Image preview */
#imagePreview img {
    max-width: 200px;
    border-radius: 6px;
    border: 1px solid #1e293b;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
=========================== */

/* Tablet */
@media (max-width: 900px) {
    .admin-downloads-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .admin-downloads-form {
        padding: 15px;
        gap: 15px;
    }

    #imagePreview img {
        max-width: 100%;
    }
}
.admin-downloads-form select,
.admin-downloads-form select option {
    background: #1e293b;
    color: #fff;
}
/* ===========================
   DOWNLOADS PAGE LAYOUT
=========================== */

.downloads-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.downloads-filters input[type="text"],
.downloads-filters select {
    background: #1e293b;
    color: #fff;
    border: 1px solid #334155;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
    min-width: 180px;
}

.downloads-filters input::placeholder {
    color: #94a3b8;
}

.downloads-filters button {
    padding: 10px 18px;
    background: #00aaff;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.downloads-filters button:hover {
    background: #0090dd;
}

/* ===========================
   GRID
=========================== */

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* ===========================
   DOWNLOAD CARD
=========================== */

.download-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    padding: 18px;
    border-radius: 10px;
    transition: 0.25s;
    cursor: pointer;
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: #00aaff;
}

.download-card h3 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: 18px;
}

.download-card p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 6px;
}

.download-card .icon {
    text-align: center;
    margin-bottom: 10px;
}

/* ===========================
   DOWNLOAD BUTTON
=========================== */

.btn-download {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    background: #00aaff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-download:hover {
    background: #0090dd;
}

/* ===========================
   MODAL PREVIEW
=========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #0f172a;
    margin: 80px auto;
    padding: 25px;
    border: 1px solid #1e293b;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    color: #fff;
}

.modal .close {
    float: right;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
}

.modal .close:hover {
    color: #00aaff;
}
/* ===========================
   GLOBAL SOLID DARK NAVBAR
=========================== */

.navbar {
    width: 100%;
    background: #0f141a; /* aviation charcoal */
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 12px 24px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;

    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar a {
    color: #f0f0f0; /* off-white */
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.navbar a:hover {
    color: #58a6ff; /* aviation blue hover */
}

.navbar li {
    position: relative;
    margin: 0 15px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: #0f141a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;

    min-width: 180px;
    padding: 6px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);

    z-index: 9999;
    flex-direction: column;
}

.navbar li:hover .dropdown-content {
    display: flex;
}

.dropdown-content a {
    padding: 10px 14px;
    color: #c9d1d9; /* softer text */
    font-weight: 500;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.06);
    color: #58a6ff;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.navbar li:hover .arrow {
    transform: rotate(180deg);
}
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}
/* ===========================
   GLOBAL HEADINGS (H1–H6)
=========================== */

h1, h2, h3, h4, h5, h6 {
    color: #e6e6e6; /* aviation off-white */
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

/* Optional: πιο premium scale */
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
/* ===========================
   GLOBAL TILE / CARD (3D)
=========================== */

.tile {
    background: rgba(13, 17, 23, 0.75); /* aviation dark glass */
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 22px;
    color: #e6edf3;

    backdrop-filter: blur(10px);

    /* 3D EFFECT */
    box-shadow:
        0 12px 28px rgba(0,0,0,0.55),
        0 6px 12px rgba(0,0,0,0.35) inset;

    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tile:hover {
    transform: translateY(-8px);
    border-color: #58a6ff;

    box-shadow:
        0 20px 45px rgba(0,0,0,0.65),
        0 10px 20px rgba(0,0,0,0.45) inset;
}

.tile h2, 
.tile h3, 
.tile h4 {
    color: #e6edf3;
    margin-bottom: 12px;
}

.tile p {
    color: #9ba7b4;
    margin-bottom: 10px;
}
/* ===========================
   GLOBAL PAGE TITLE (Dark Theme)
=========================== */

.page-title {
    background: none !important;
    color: #e6edf3 !important; /* aviation off-white */
    padding: 0;
    margin-bottom: 25px;
    border: none;
    box-shadow: none;
}
/* ==========================================
   DARK THEME DROPDOWN (OVERRIDE)
========================================== */

.navbar .dropdown-content,
.dropdown-submenu {
    background: #0f172a !important; /* dark navy */
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.45) !important;
    backdrop-filter: blur(12px) saturate(140%) !important;
}

/* Dropdown links */
.navbar .dropdown-content a,
.dropdown-submenu a {
    color: #e6edf3 !important; /* aviation off-white */
}

/* Hover effect */
.navbar .dropdown-content a:hover,
.dropdown-submenu a:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #58a6ff !important; /* aviation blue */
}
/* ==========================================
   LOGIN PAGE DARK BACKGROUND FIX
========================================== */

body,
html {
    background: #0d1117 !important;
}

/* Remove any wrapper backgrounds */
body > div,
body > div > div,
.wrapper,
.container,
.page-content,
.main-content,
.body-content {
    background: transparent !important;
}

/* Login card styling */
.login-card {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px) saturate(140%);
    color: #e6edf3;
    width: 350px;
}

/* Inputs */
.login-card input[type="email"],
.login-card input[type="password"] {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #e6edf3;
    border-radius: 6px;
}

/* Labels */
.login-card label {
    color: #e6edf3;
}

/* Error message */
.login-error {
    background: rgba(255,0,0,0.15);
    border: 1px solid rgba(255,0,0,0.25);
    padding: 10px;
    border-radius: 6px;
    color: #ffb4b4;
}
/* ===========================
   PILOT PHOTOS CAROUSEL
=========================== */

.pilot-photos-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 26px;
    font-weight: 600;
    color: #e6edf3;
}

.pilot-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.pc-track {
    display: flex;
    gap: 14px;
    transition: transform 0.45s ease;
}

.pc-item {
    min-width: calc(33.333% - 10px);
    border-radius: 14px;
    overflow: hidden;
}

.pc-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

/* arrows */
.pc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    color: #e6edf3;
    z-index: 10;
    transition: background 0.25s ease;
}

.pc-arrow:hover {
    background: rgba(255,255,255,0.22);
}

.pc-prev { left: 10px; }
.pc-next { right: 10px; }

/* responsive */
@media (max-width: 900px) {
    .pc-item { min-width: calc(50% - 10px); }
}

@media (max-width: 600px) {
    .pc-item { min-width: 100%; }
}
.pilot-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px; /* 20px παντού */
}
/* Hover Zoom */
.pc-item {
    overflow: hidden;
    border-radius: 14px;
    transform-style: preserve-3d;
    transition: transform 0.25s ease;
}

.pc-item img {
    transition: transform 0.45s ease;
}

.pc-item:hover img {
    transform: scale(1.12);
}
/* 3D Tilt */
.pc-item {
    perspective: 800px;
}

.pc-item:hover {
    transform: translateY(-4px);
}
/* ===========================
   FULLSCREEN HERO IMAGE
=========================== */
.hero-image-wrapper {
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay container */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
}

/* Big JOIN US text */
.hero-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow: 0 0 18px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

/* CTA Button */
.hero-btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0,0,0,0.45);
    border: 2px solid #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}
.hero-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.55)
    );
    pointer-events: none;
    z-index: 2;
}
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 3;
}
/* ============================================================
   NOTAM POPUP — FULL DARK THEME + HEADER FIX + PREMIUM UI
   ============================================================ */

/* Overlay container */
.front-notam-popup {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 99999;
}

/* Dark overlay */
.front-notam-overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* Popup window — POSITION + STYLE merged */
.front-notam-window {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;

    width: 90%;
    max-width: 600px;
    max-height: 80vh;

    background: rgba(28, 28, 28, 0.97) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    border-radius: 14px;
    padding: 0 25px 25px 25px; /* top=0 */

    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.75),
        inset 0 0 18px rgba(255, 255, 255, 0.05);

    display: flex;
    flex-direction: column;
    color: #f2f2f2 !important;
}

/* Scrollable content */
.front-notam-content {
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 5px;
}

/* Sticky header */
.front-notam-window .popup-header {
    position: sticky;
    top: 0;

    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    padding: 10px 0 !important;
    margin: 0 !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 20;
}

/* Title inside header */
.front-notam-window .popup-header h2 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 600;
}

/* Other headings inside popup */
.front-notam-window h1,
.front-notam-window h2,
.front-notam-window h3 {
    background: transparent !important;
    color: #ffffff !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Meta info */
.front-notam-window .popup-header .popup-meta {
    color: #cccccc !important;
    margin: 0 0 5px 0 !important;
    background: transparent !important;
}

/* Close button */
.front-notam-window .front-notam-close {
    all: unset !important;
    display: block !important;
    position: absolute !important;
    top: 6px !important;
    right: 8px !important;
    cursor: pointer;
    font-size: 34px !important;
    color: #ffffff !important;
    line-height: 1;
    z-index: 10001;
}

.front-notam-window .front-notam-close::before {
    content: "×";
}

/* Info box text color fix */
.info-box h2,
.info-box p,
.info-box strong {
    color: #f2f2f2 !important;
}

/* Welcome title color fix */
.welcome h1 {
    color: #f2f2f2 !important;
}

/* Two columns dark theme */
.two-columns {
    display: flex;
    gap: 20px;
}

/* Two columns dark theme — FINAL OVERRIDE */
.two-columns > .column {
    background: rgba(20, 20, 20, 0.90) !important;
    padding: 20px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
}

/* Text color */
.two-columns .column h2,
.two-columns .column p,
.two-columns .column li,
.two-columns .column a {
    color: #f2f2f2 !important;
}

/* Links inside NOTAM list */
.two-columns .notam-list a {
    color: #d8e6ff !important;
    text-decoration: none;
}

.two-columns .notam-list a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Scrollable columns */
.two-columns > .column {
    max-height: 350px;
    overflow-y: auto;
    position: relative;
}

/* Sticky title */
.two-columns > .column h2 {
    position: sticky;
    top: 0;
    background: rgba(20, 20, 20, 0.95);
    padding: 10px 0;
    margin: 0 0 15px 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
/* ===========================
   FULLSCREEN MAP κάτω από το menu (Option B)
=========================== */

/* Ύψος menu — άλλαξέ το αν χρειάζεται */
:root {
    --menu-height: 80px;
}

/* Container του map */
.map-section {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

/* Ο χάρτης — σχεδόν full height */
/* Ο χάρτης full-width μέσα στο layout */
#map {
    width: calc(100% - 30px) !important;
    height: calc(100vh - var(--menu-height) - 5px) !important;
    margin: 5px auto 5px auto !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: block !important;
}

.flight-info-panel {
    position: absolute;
    top: 12px;
    right: 12px;

    background: rgba(0, 0, 0, 0.55); /* dark glass */
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);

    border-radius: 14px;
    padding: 14px 18px;
    color: #e6edf3; /* aviation off-white */
    font-size: 13px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);

    pointer-events: none;
    z-index: 9999;
    min-width: 200px;

    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.flight-info-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.flight-info-panel h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.flight-info-panel .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.flight-info-panel .label {
    width: 70px;
    flex-shrink: 0;
    opacity: 0.75;
    color: #cbd5e1; /* light gray-blue */
}

.flight-info-panel .value {
    flex: 1;
    font-weight: 600;
    color: #f8fafc; /* bright white */
    white-space: normal;
    word-break: break-word;
}
.two-columns .column:first-child {
    flex: 1; /* 1/3 */
}

.two-columns .column:last-child {
    flex: 2; /* 2/3 */
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.stat-box {
    background: rgba(255,255,255,0.06);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.75;
    color: #ddd;
}
.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-number.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================================================
   RESPONSIVE DESIGN FOR INDEX PAGE (Two Columns, Stats, Tables,
   Hero Section, Info Box, Carousel)
   ============================================================ */


/* ============================================================
   1) TWO COLUMNS (NEWS + STATISTICS)
   ============================================================ */
@media (max-width: 992px) {
    .two-columns {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .two-columns {
        flex-direction: column;
        gap: 30px;
    }

    .two-columns .column {
        width: 100% !important;
        flex: unset !important;
    }
}


/* ============================================================
   2) STATISTICS GRID (6 counters)
   ============================================================ */

/* Desktop default → 3 columns */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

/* Tablet → 2 columns */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile → 1 column */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   3) COMPLETED FLIGHTS TABLE (scrollable on mobile)
   ============================================================ */
@media (max-width: 768px) {

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .schedule-table {
        min-width: 650px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 10px 8px;
        font-size: 14px;
        white-space: nowrap;
    }
}


/* ============================================================
   4) HERO SECTION (image + title + button)
   ============================================================ */
@media (max-width: 768px) {

    .hero-image-wrapper {
        height: 260px;
        overflow: hidden;
    }

    .hero-image {
        width: 100%;
        height: 260px;
        object-fit: cover;
        object-position: center;
    }

    .hero-overlay {
        padding: 0 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 6px;
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .hero-image-wrapper {
        height: 220px;
    }

    .hero-image {
        height: 220px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}


/* ============================================================
   5) INFO BOX (Start your career)
   ============================================================ */
@media (max-width: 768px) {
    .info-box {
        padding: 20px;
        margin: 20px 0;
        border-radius: 10px;
        text-align: center;
    }

    .info-box h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .info-box p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .info-box {
        padding: 16px;
    }

    .info-box h2 {
        font-size: 20px;
    }

    .info-box p {
        font-size: 13px;
    }
}


/* ============================================================
   6) CAROUSEL (background image carousel)
   ============================================================ */
.carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
    .carousel-container {
        height: 220px;
    }

    .carousel-container img {
        height: 220px;
        object-fit: cover;
        object-position: center;
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .carousel-container {
        height: 180px;
    }

    .carousel-container img {
        height: 180px;
    }
}

/* MOBILE → 1 column */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   ACTIVE FLIGHTS BOARD SPACING
=========================== */

.departures-section {
    margin-top: 20px;   /* Απόσταση κάτω από τον χάρτη */
    padding: 0 15px;    /* Ίδιο “αέρα” με τον χάρτη */
}
/* ============================================================
   PROFILE PAGE — DARK GLASS THEME (PART 1)
   Matches index.php theme exactly
   ============================================================ */

/* PAGE WRAPPER */
.profile-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 30px;
    color: #e6e6e6;
}
.profile-sections > div {
    width: 100%;
}
.profile-card,
.profile-card-full {
    height: 100%;
}

/* ============================================================
   PROFILE HEADER (Glass Panel)
   ============================================================ */
.profile-header {
    display: flex;
    gap: 25px;
    padding: 25px;
    margin-bottom: 30px;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* PROFILE PHOTO — Rounded Rectangle */
.profile-photo img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 18px;

    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

/* MAIN INFO */
.profile-main-info h1 {
    font-size: 28px;
    margin: 0;
    color: #e6e6e6 !important;
}

.callsign {
    font-size: 18px;
    color: #e6e6e6 !important;
    margin-bottom: 10px;
}

.profile-main-meta {
    display: flex;
    gap: 25px;
    margin: 6px 0;
    font-size: 15px;
    color: #ccc;
}

/* BADGES IN HEADER */
.profile-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.badge-rank {
    background: #005eff;
}

.badge-status-active {
    background: #00a86b;
}

.badge-status-inactive {
    background: #b30000;
}

/* EDIT BUTTON */
.profile-actions .btn-primary {
    margin-top: 12px;
    padding: 8px 18px;
    background: #007bff;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    transition: 0.2s;
}

.profile-actions .btn-primary:hover {
    background: #0096ff;
}

/* ============================================================
   GRID LAYOUT (3 → 2 → 1)
   ============================================================ */
.profile-sections {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
}

/* Tablet */
@media (max-width: 992px) {
    .profile-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-photo img {
        width: 140px;
        height: 140px;
    }

    .profile-main-meta {
        flex-direction: column;
        gap: 6px;
    }

    .profile-sections {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   GLASS CARDS (same as index.php)
   ============================================================ */
.profile-card,
.profile-card-full {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

.profile-card h2,
.profile-card-full h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
    font-size: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 6px;
}
/* ============================================================
   PROFILE FIELDS
   ============================================================ */
.profile-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-size: 15px;
    color: #ccc;
}

.profile-field-icon {
    font-size: 18px;
    width: 22px;
}

.profile-field-label {
    font-weight: 600;
    color: #fff;
}

/* BIO */
.profile-bio {
    margin-top: 10px;
    color: #ccc;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* ============================================================
   BADGES GRID
   ============================================================ */
.pilot-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px;
}

.badge-card {
    text-align: center;
    padding: 15px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 14px;

    box-shadow: 0 0 14px rgba(0,0,0,0.35);
}

.badge-card-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.badge-card-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.badge-card-date {
    color: #aaa;
    font-size: 13px;
}

/* ============================================================
   TYPE RATING BLOCKS
   ============================================================ */
.type-rating-block {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 0 14px rgba(0,0,0,0.35);
}

.tr-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #fff;
}

.tr-badge-earned {
    background: #00a86b;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
}

/* PROGRESS BAR */
.tr-progress-bar {
    width: 100%;
    height: 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.tr-progress-fill {
    height: 100%;
    background: #009dff;
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* TR STATS */
.tr-stats {
    display: flex;
    justify-content: space-between;
    color: #ccc;
    font-size: 14px;
}

/* ============================================================
   ACTIVE BOOKING TABLE (DARK)
   ============================================================ */
.booking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.booking-table th {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: left;
}

.booking-table td {
    padding: 10px;
    color: #ccc;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.booking-table tr:hover td {
    background: rgba(255,255,255,0.05);
}

/* CANCEL BUTTON */
.btn-danger {
    background: #b30000;
    color: #fff;
    padding: 7px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-danger:hover {
    background: #e60000;
}

/* ============================================================
   MODAL (DARK GLASS)
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    width: 340px;
    padding: 22px;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: 14px;

    color: #fff;
    text-align: center;
    box-shadow: 0 0 18px rgba(0,0,0,0.4);
}

.modal-buttons {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 7px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* ============================================================
   MOBILE FIXES
   ============================================================ */
@media (max-width: 768px) {
    .badge-card-icon {
        width: 60px;
        height: 60px;
    }

    .tr-stats {
        flex-direction: column;
        gap: 6px;
    }

    .booking-table {
        font-size: 14px;
    }

    .modal-box {
        width: 90%;
    }
}
/* ------------------------------------------------------------
   GLOBAL TRANSITIONS
------------------------------------------------------------ */
.profile-card,
.profile-card-full,
.badge-card,
.type-rating-block,
.modal-box,
.booking-table td,
.booking-table th {
    transition: 0.25s ease;
}

/* ------------------------------------------------------------
   CARD HOVER EFFECTS (subtle, premium)
------------------------------------------------------------ */
.profile-card:hover,
.profile-card-full:hover,
.badge-card:hover,
.type-rating-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 22px rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.18);
}

/* ------------------------------------------------------------
   HEADER HOVER (subtle glow)
------------------------------------------------------------ */
.profile-header:hover {
    box-shadow: 0 0 26px rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.18);
}

/* ------------------------------------------------------------
   PROFILE PHOTO POLISH
------------------------------------------------------------ */
.profile-photo img {
    transition: 0.25s ease;
}

.profile-photo img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(0,150,255,0.45);
}

/* ------------------------------------------------------------
   BUTTON POLISH
------------------------------------------------------------ */
.btn-primary,
.btn-danger,
.btn-secondary {
    transition: 0.25s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 12px rgba(0,150,255,0.55);
}

.btn-danger:hover {
    box-shadow: 0 0 12px rgba(255,0,0,0.45);
}

.btn-secondary:hover {
    box-shadow: 0 0 12px rgba(255,255,255,0.25);
}

/* ------------------------------------------------------------
   BOOKING TABLE POLISH
------------------------------------------------------------ */
.booking-table tr:hover td {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* ------------------------------------------------------------
   MODAL POLISH
------------------------------------------------------------ */
.modal-box h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    color: #fff;
}

.modal-box p {
    color: #ccc;
    font-size: 15px;
}

/* ------------------------------------------------------------
   TYPE RATING POLISH
------------------------------------------------------------ */
.tr-header strong {
    color: #fff;
    font-size: 17px;
}

.tr-stats span strong {
    color: #fff;
}

/* ------------------------------------------------------------
   BADGES POLISH
------------------------------------------------------------ */
.badge-card:hover .badge-card-name {
    color: #00aaff;
}

.badge-card:hover .badge-card-icon {
    transform: scale(1.05);
}

/* ------------------------------------------------------------
   RESPONSIVE POLISH
------------------------------------------------------------ */
@media (max-width: 768px) {
    .profile-header {
        padding: 18px;
    }

    .profile-card,
    .profile-card-full {
        padding: 16px;
    }

    .badge-card {
        padding: 12px;
    }

    .type-rating-block {
        padding: 14px;
    }

    .profile-main-info h1 {
        font-size: 24px;
    }

    .callsign {
        font-size: 16px;
    }
}

/* ------------------------------------------------------------
   EXTRA SMALL DEVICES
------------------------------------------------------------ */
@media (max-width: 480px) {
    .profile-photo img {
        width: 120px;
        height: 120px;
    }

    .profile-main-info h1 {
        font-size: 22px;
    }

    .profile-card h2,
    .profile-card-full h2 {
        font-size: 18px;
    }

    .tr-stats {
        font-size: 13px;
    }
}
/* ============================
   MY FLIGHTS — DARK GLASS TABLE (FINAL CLEAN VERSION)
============================ */

.myflights-table-wrapper {
    padding: 10px 20px;
}

/* TABLE */
.myflights-table-wrapper table.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20,20,20,0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

/* HEADER */
.myflights-table-wrapper table.admin-table thead th {
    background: rgba(40,40,40,0.85);
    color: #e6e6e6;
    padding: 12px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* ROWS */
.myflights-table-wrapper table.admin-table tbody td {
    padding: 10px;
    color: #ccc;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

/* DISABLE THEME HOVER ON TR */
.myflights-table-wrapper table.admin-table tbody tr:hover {
    background: transparent !important;
}

/* OUR HOVER ON TD */
.myflights-table-wrapper table.admin-table tbody tr:hover td {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    transition: background 0.15s ease, color 0.15s ease;
}

/* SORTABLE LINKS */
.sortable {
    color: #e6e6e6;
    font-weight: 600;
}

.sortable .arrow {
    opacity: 0.6;
}

.sortable.active .arrow {
    opacity: 1;
    color: #00aaff;
}

/* PAGINATION */
.pagination {
    margin-top: 20px;
    text-align: center;
    color: #ccc;
}

.pagination .btn-primary {
    padding: 6px 14px;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
}

.pagination .btn-primary:hover {
    background: #0096ff;
}

.page-info {
    margin: 0 12px;
    color: #e6e6e6;
}

/* SEARCH BAR */
.search-bar input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}

.search-bar label {
    color: #ccc;
}

.admin-filters select,
.admin-filters input[type="date"] {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 6px;
    border-radius: 8px;
}

.admin-filters a {
    color: #00aaff;
}

/* ============================
   SEARCH BAR — ONE LINE FIX
============================ */

.admin-controls {
    width: 100%;
}

.admin-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
}

.admin-filters > * {
    white-space: nowrap;
}

.search-bar {
    flex: 1;
    min-width: 220px;
}

.admin-filters select,
.admin-filters input[type="date"] {
    min-width: 120px;
}

.btn-small {
    white-space: nowrap;
}
/* ============================
   INDEX — GLASS PANEL FOR FLIPBOARD
============================ */

.departures-section .table-container {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
}
/* ============================
   INDEX — STRONGER TABLE HEADER
============================ */

.schedule-table thead th {
    background: rgba(0,0,0,0.55);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 10px;
    text-shadow: 0 0 6px rgba(0,0,0,0.7);
}
/* ============================
   INDEX — FLIPBOARD IMPROVED VISIBILITY
============================ */

.flip-cell .flipboard {
    padding: 6px 12px;       /* μεγαλύτερο tile */
    font-size: 17px;         /* λίγο μεγαλύτερο font */
    letter-spacing: 0.5px;   /* πιο κοντά γράμματα */
    color: #f8f8f8;          /* πιο καθαρό λευκό */
}
/* ============================
   CHANGE PASSWORD — CLEAN DARK THEME
============================ */

.change-wrapper {
    max-width: 420px;
    margin: 40px auto;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    padding: 24px 26px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

.change-wrapper h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
    color: #f2f2f2; /* σπασμένο λευκό */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.change-wrapper label {
    color: #e6e6e6; /* σπασμένο λευκό */
    font-weight: 600;
    margin-bottom: 4px;
}

.change-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.change-wrapper input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    color: #fff;
}

.change-wrapper input[type="password"]::placeholder {
    color: #bbb;
}

.btn-change {
    padding: 10px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s ease;
}

.btn-change:hover {
    background: #0096ff;
}

.change-message-success {
    margin-bottom: 12px;
    padding: 10px 12px;
    background: rgba(0, 255, 100, 0.15);
    border-radius: 6px;
    color: #7dffb0;
    font-size: 14px;
}

.change-message-error {
    margin-bottom: 12px;
    padding: 10px 12px;
    background: rgba(255, 0, 0, 0.15);
    border-radius: 6px;
    color: #ff8a8a;
    font-size: 14px;
}
/* ============================
   ADMIN LOGS — DARK THEME CLEAN VERSION (FINAL)
============================ */

/* Wrapper */
html body .admin-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Page Title */
html body .admin-wrapper .admin-page-header h1 {
    color: #f2f2f2 !important;
    font-size: 28px;
    margin-bottom: 6px;
}

html body .admin-wrapper .admin-page-header .admin-page-subtitle {
    color: #cccccc !important;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Filters Row */
html body .admin-wrapper .admin-controls {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

/* Search */
html body .admin-wrapper .admin-search input {
    height: 36px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 6px;
    color: #fff !important;
}

/* Dropdowns */
html body .admin-wrapper .admin-filters select {
    height: 36px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 6px;
    color: #fff !important;
}

html body .admin-wrapper .admin-filters select option {
    color: #000 !important;
    background: #fff !important;
}

/* Filter Button */
html body .admin-wrapper .admin-filters .btn-small {
    height: 36px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    background: #007bff !important;
    border-radius: 6px;
    color: #fff !important;
}

html body .admin-wrapper .admin-filters .btn-small:hover {
    background: #0096ff !important;
}

/* Card (πιο σκούρο + πιο έντονα borders) */
html body .admin-wrapper .admin-card {
    background: rgba(0,0,0,0.78) !important;
    backdrop-filter: blur(14px) !important;
    padding: 20px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
}

/* Table */
html body .admin-wrapper .admin-table {
    width: 100%;
    border-collapse: collapse;
}

/* Header (πιο σκούρο + πιο έντονο border) */
html body .admin-wrapper .admin-table thead th {
    background: rgba(0,0,0,0.88) !important;
    color: #f2f2f2 !important;
    padding: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid rgba(255,255,255,0.25) !important;
}

/* Rows (πιο σκούρα + πιο έντονα borders) */
html body .admin-wrapper .admin-table tbody td {
    background: rgba(0,0,0,0.65) !important;
    color: #e6e6e6 !important;
    padding: 10px !important;
    border-bottom: 1px solid rgba(255,255,255,0.18) !important;
}

/* Hover (πιο φωτεινό background + ΣΚΟΥΡΑ γράμματα για να φαίνονται) */
html body .admin-wrapper .admin-table tbody tr:hover td {
    background: rgba(255,255,255,0.18) !important;
    color: #000 !important;
}

/* Role Badges */
html body .admin-wrapper .role-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.role-badge-admin { background: #007bff; }
.role-badge-superadmin { background: #ff8800; }
.role-badge-user { background: #666; }

/* Pagination */
html body .admin-wrapper .pagination {
    margin-top: 20px;
    text-align: center;
    color: #ccc;
}

html body .admin-wrapper .pagination .btn-small {
    padding: 6px 14px;
    border-radius: 8px;
    background: #444;
    color: #fff;
}

html body .admin-wrapper .pagination .btn-small:hover {
    background: #666;
}

html body .admin-wrapper .page-info {
    margin: 0 12px;
    color: #e6e6e6;
}
html body .admin-wrapper .admin-title {
    color: #f2f2f2 !important;
    font-size: 28px;
    margin-bottom: 10px;
}
html body .admin-wrapper .admin-user-name {
    color: #f2f2f2 !important;
    font-weight: 600;
}
html body .admin-wrapper .admin-subtitle {
    color: #f2f2f2 !important;
    font-size: 14px;
    opacity: 0.85;
    margin-top: -5px;
    margin-bottom: 15px;
}
html body .admin-wrapper .admin-user-id {
    color: #e6e6e6 !important;
    font-weight: 600;
    opacity: 1 !important;
}
/* RULE CARDS */
.rule-card-dark {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 25px;
}

.rule-title {
    color: #f2f2f2;
    margin-top: 0;
}

.rule-desc {
    color: #cccccc;
    margin-bottom: 15px;
}

.rule-label {
    display: block;
    margin: 10px 0 5px;
    color: #e6e6e6;
}

.rule-input {
    width: 140px;
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #ffffff;
    color: #000000;
}

/* JSON EDITOR */
.json-editor-dark {
    width: 100%;
    height: 220px;
    font-family: monospace;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #ffffff;
    color: #000000;
}

/* CATEGORY TITLES */
.admin-section-title {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: #f2f2f2;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 5px;
}

/* SUCCESS / ERROR */
.alert-success {
    background: rgba(0, 180, 0, 0.15);
    border: 1px solid #00b400;
    padding: 10px;
    margin-bottom: 20px;
    color: #caffca;
}

.alert-error {
    background: rgba(180, 0, 0, 0.15);
    border: 1px solid #b40000;
    padding: 10px;
    margin-bottom: 20px;
    color: #ffbcbc;
}

/* ACTIONS */
.rule-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
/* ===========================
   GLOBAL TEXT + TITLES
=========================== */
.admin-title,
.admin-section-title,
.admin-page-header h1,
.admin-page-header h2,
.admin-card h2 {
    color: #f2f2f2;
}

.admin-card-subtitle,
.admin-page-subtitle {
    color: #cccccc;
}

/* ===========================
   ADMIN CARD
=========================== */
.admin-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

/* ===========================
   FORM CONTROLS
=========================== */
.admin-controls .form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.admin-controls label {
    color: #e6e6e6;
}

.admin-controls input[type="text"],
.admin-controls input[type="number"],
.admin-controls select,
.admin-controls textarea {
    background: #ffffff;
    color: #000000;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 6px;
    width: 220px;
}

/* ===========================
   TABLES
=========================== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table thead th {
    background: rgba(255,255,255,0.08);
    color: #f2f2f2;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #e6e6e6;
}

.admin-empty {
    text-align: center;
    padding: 16px;
    color: #bbbbbb;
}

/* ===========================
   BADGES
=========================== */
.badge-success {
    background: #28a745;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-secondary {
    background: #6c757d;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ===========================
   INLINE FORMS
=========================== */
.inline-form {
    display: inline-block;
}

/* ===========================
   COLLAPSIBLE SECTIONS
=========================== */
.collapse-icon {
    cursor: pointer;
    margin-right: 8px;
    font-size: 15px;
    opacity: 0.85;
    user-select: none;
}

.family-header td,
.pattern-icao-header td {
    padding: 10px 12px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.family-title,
.icao-title {
    color: #f2f2f2;
    font-weight: 600;
}

.collapse-hidden {
    display: none;
}

.family-separator td,
.pattern-separator td {
    border-bottom: 2px solid rgba(255,255,255,0.12);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.btn-small {
    padding: 4px 10px;
    font-size: 13px;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-danger {
    background: #c00;
    color: #fff;
}

.btn-secondary {
    background: #555;
    color: #fff;
}

/* ===========================
   ALERTS
=========================== */
.alert-success {
    background: rgba(0, 180, 0, 0.15);
    border: 1px solid #00b400;
    padding: 10px;
    margin-bottom: 20px;
    color: #caffca;
}

.alert-error,
.alert-danger {
    background: rgba(180, 0, 0, 0.15);
    border: 1px solid #b40000;
    padding: 10px;
    margin-bottom: 20px;
    color: #ffbcbc;
}
/* Stronger labels for admin forms */
.admin-controls .form-row label {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}
/* HARD OVERRIDE: table row hover σε admin dark theme */
.admin-wrapper table.admin-table tbody tr:hover td,
.admin-wrapper table.admin-table tbody tr:hover td * {
    background-color: rgba(255,255,255,0.10) !important;
    color: #000000 !important;
}
/* ==========================================================
   DARK THEME CSS — admin_pilots_pending.php
   ========================================================== */

/* ===========================
   PAGE TITLES
=========================== */
.admin-container .admin-title {
    color: #f2f2f2 !important;
    margin-bottom: 20px;
}

/* ===========================
   EMPTY MESSAGE
=========================== */
.admin-empty {
    color: #cccccc !important;
    text-align: center;
    padding: 20px;
}

/* ===========================
   TABLE
=========================== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table thead th {
    background: rgba(255,255,255,0.08);
    color: #f2f2f2;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.admin-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #e6e6e6;
}

/* ===========================
   LINKS (DEFAULT)
=========================== */
.admin-link {
    color: #66aaff;
    text-decoration: none;
}

.admin-link:hover {
    color: #99c8ff;
}

/* ===========================
   TABLE HOVER FIX (FINAL)
=========================== */
.admin-container table.admin-table tbody tr:hover td {
    background-color: rgba(255,255,255,0.12) !important;
    color: #000 !important;
}

.admin-container table.admin-table tbody tr:hover td a,
.admin-container table.admin-table tbody tr:hover td a.admin-link {
    color: #000 !important;
}

/* ===========================
   ACTION BUTTONS
=========================== */
.admin-actions .btn {
    margin-right: 6px;
}

.btn-small {
    padding: 4px 10px;
    font-size: 13px;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-danger {
    background: #c00;
    color: #fff;
}
/* ==========================================================
   DARK THEME CSS — admin_pilots_active.php
   ========================================================== */

/* ===========================
   PAGE WRAPPER (GLASS BOX)
=========================== */
.content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 25px;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;

    box-shadow: 0 10px 35px rgba(0,0,0,0.45);
}

/* ===========================
   PAGE TITLE
=========================== */
.content > h1 {
    color: #f2f2f2;
    font-weight: 600;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255,255,255,0.15);
}

/* ===========================
   TABLE (GLASS STYLE)
=========================== */
.content .admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* ===========================
   TABLE HEADER
=========================== */
.content table.admin-table > thead > tr > th,
.content table.admin-table > tbody > tr > th {
    padding: 12px 14px;
    text-align: left;
    color: #f2f2f2;

    background: rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.15);

    font-weight: 600;
}

/* ===========================
   TABLE ROWS (NO ZEBRA)
=========================== */
.content table.admin-table > tbody > tr {
    background: rgba(255,255,255,0.04) !important;
}

.content table.admin-table > tbody > tr > td {
    padding: 12px 14px;
    color: #e6e6e6 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ===========================
   LINKS
=========================== */
.content .admin-table a {
    color: #66aaff;
    font-weight: 600;
    text-decoration: none;
}

.content .admin-table a:hover {
    color: #99c8ff;
}

/* ===========================
   EMPTY MESSAGE
=========================== */
.content p {
    color: #cccccc;
    font-size: 15px;
    margin-top: 15px;
}
/* ===========================
   TABLE ROW HOVER (DARK THEME)
=========================== */
.content table.admin-table > tbody > tr:hover {
    background: rgba(255,255,255,0.18) !important;
}

.content table.admin-table > tbody > tr:hover > td {
    color: #000 !important;
}

.content table.admin-table > tbody > tr:hover > td a {
    color: #000 !important;
}
/* ==========================================================
   DARK THEME CSS — admin_pilots_rejected.php (FULL OVERRIDE)
   ========================================================== */

/* ===========================
   PAGE WRAPPER (GLASS BOX)
=========================== */
.admin-container {
    max-width: 1000px !important;
    margin: 40px auto !important;
    padding: 25px !important;

    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;

    box-shadow: 0 10px 35px rgba(0,0,0,0.45) !important;
}

/* ===========================
   PAGE TITLE
=========================== */
.admin-title {
    color: #f2f2f2 !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.15) !important;
}

/* ===========================
   EMPTY MESSAGE
=========================== */
.admin-empty {
    color: #cccccc !important;
    font-size: 15px !important;
    margin-top: 15px !important;
}

/* ===========================
   TABLE (GLASS STYLE)
=========================== */
.admin-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 15px !important;

    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 10px !important;
    overflow: hidden !important;

    box-shadow: 0 6px 20px rgba(0,0,0,0.35) !important;
}

/* ===========================
   TABLE HEADER (FINAL FIX)
=========================== */
.admin-container .admin-box table.admin-table thead {
    background: rgba(255,255,255,0.10) !important;
}

.admin-container .admin-box table.admin-table thead tr th {
    padding: 12px 14px !important;
    text-align: left !important;

    background: transparent !important;
    color: #f2f2f2 !important;

    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    font-weight: 600 !important;
}

/* ===========================
   TABLE ROWS (NO ZEBRA)
=========================== */
.admin-table tbody tr {
    background: rgba(255,255,255,0.04) !important;
}

.admin-table tbody td {
    padding: 12px 14px !important;
    color: #e6e6e6 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* ===========================
   TABLE ROW HOVER
=========================== */
.admin-table tbody tr:hover {
    background: rgba(255,255,255,0.18) !important;
}

.admin-table tbody tr:hover td {
    color: #000 !important;
}

.admin-table tbody tr:hover td a {
    color: #000 !important;
}

/* ===========================
   LINKS
=========================== */
.admin-link {
    color: #66aaff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.admin-link:hover {
    color: #99c8ff !important;
}
/* ==========================================================
   DARK THEME CSS — admin_manual_pireps.php (FULL OVERRIDE)
   ========================================================== */

/* ===========================
   PAGE WRAPPER (GLASS BOX)
=========================== */
.admin-container {
    max-width: 1100px !important;
    margin: 40px auto !important;
    padding: 25px !important;

    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;

    box-shadow: 0 10px 35px rgba(0,0,0,0.45) !important;
}

/* ===========================
   INNER BOX
=========================== */
.admin-box {
    width: 100% !important;
}

/* ===========================
   PAGE TITLE
=========================== */
.admin-title {
    color: #f2f2f2 !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.15) !important;
}

/* ===========================
   CARD WRAPPER
=========================== */
.admin-card {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 10px !important;
    padding: 15px !important;

    box-shadow: 0 6px 20px rgba(0,0,0,0.35) !important;
}

/* ===========================
   TABLE (GLASS STYLE)
=========================== */
.admin-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 10px !important;

    background: rgba(255,255,255,0.04) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* ===========================
   THEAD OVERRIDE (THEME FIX)
=========================== */
.admin-container .admin-box .admin-card table.admin-table thead {
    background: rgba(255,255,255,0.10) !important;
}

.admin-container .admin-box .admin-card table.admin-table thead tr th {
    padding: 12px 14px !important;
    text-align: left !important;

    background: transparent !important;
    color: #f2f2f2 !important;

    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    font-weight: 600 !important;
}

/* ===========================
   TABLE ROWS (NO ZEBRA)
=========================== */
.admin-table tbody tr {
    background: rgba(255,255,255,0.04) !important;
}

.admin-table tbody td {
    padding: 12px 14px !important;
    color: #e6e6e6 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* ===========================
   TABLE ROW HOVER
=========================== */
.admin-table tbody tr:hover {
    background: rgba(255,255,255,0.18) !important;
}

.admin-table tbody tr:hover td {
    color: #000 !important;
}

.admin-table tbody tr:hover td a {
    color: #000 !important;
}

/* ===========================
   ACTION BUTTONS
=========================== */
.action-accept,
.action-reject {
    font-size: 18px !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    border: none !important;
}

.action-accept {
    color: #00ff88 !important;
}

.action-reject {
    color: #ff4444 !important;
    background: transparent !important;
}

/* ===========================
   LINKS
=========================== */
.admin-link {
    color: #66aaff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.admin-link:hover {
    color: #99c8ff !important;
}
/* ==========================================================
   ADMIN RANKS — TABLE WRAPPER
   ========================================================== */
.admin-container .admin-box .admin-table-wrapper {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* ==========================================================
   ADMIN RANKS — STICKY HEADER
   ========================================================== */
.admin-container .admin-box .admin-table thead th {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
    padding: 10px;
    border-bottom: 2px solid #ccc;
}

/* ==========================================================
   ADMIN RANKS — ZEBRA STRIPING
   ========================================================== */
.admin-container .admin-box .admin-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

/* ==========================================================
   ADMIN RANKS — FIX REQUIRED XP COLUMN COLOR
   ========================================================== */
.admin-container .admin-box .admin-table td:nth-child(5),
.admin-container .admin-box .admin-table th:nth-child(5) {
    color: #f2f2f2 !important;
}
/* ==========================================================
   ADMIN — MANUAL AWARD PAGE
   ========================================================== */

.admin-container .admin-box .admin-form label {
    color: #f2f2f2 !important;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.admin-container .admin-box .admin-form select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 15px;

    background: rgba(255,255,255,0.08);
    color: #f2f2f2;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.admin-container .admin-box .admin-form select option {
    background: #1a1a1a;
    color: #f2f2f2;
}

.admin-container .admin-box .admin-form .btn-primary {
    background: #007bff;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
}

.admin-container .admin-box .admin-form .btn-cancel {
    background: #cc3333;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 10px;
}
/* ==========================================================
   ADMIN — TYPE RATING → BADGE MAPPING
   ========================================================== */

/* CARD WRAPPER (GLASS BOX) */
.admin-card {
    margin: 20px 0 20px 15px;
    padding: 20px;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;

    box-shadow: 0 10px 35px rgba(0,0,0,0.45);

    /* ΝΕΟ: narrow panel για το πρώτο box */
    max-width: 550px;
}

/* Το δεύτερο panel (Existing Mappings) να παραμείνει full width */
.admin-card + .admin-card {
    max-width: 100%;
	margin: 20px auto;
}

/* TITLES */
.admin-card h2,
.admin-card h3 {
    color: #f2f2f2;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255,255,255,0.15);
}

/* FORM LABELS — FIXED */
.admin-card label,
.admin-card .checkbox-inline {
    color: #f2f2f2 !important; /* σπασμένο λευκό */
    font-weight: 600 !important;
    text-align: left !important;
    display: block !important;
}

/* CHECKBOX INLINE — FINAL FIX */
.admin-card .admin-form .checkbox-inline {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 10px !important;
	margin-bottom: 10px !important;
    color: #f2f2f2 !important;
    width: auto !important;
    text-align: left !important;
}

.admin-card .admin-form .checkbox-inline input[type="checkbox"] {
    margin: 0 !important;
    transform: scale(1.2);
}

/* SELECTS — FINAL OVERRIDE */
.admin-card.admin-card-narrow .admin-form-vertical select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;

    background: #ffffff !important;   /* καθαρό λευκό */
    color: #111111 !important;        /* σκούρο γκρι/μαύρο */

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.admin-card.admin-card-narrow .admin-form-vertical select option {
    background: #ffffff !important;
    color: #111111 !important;
}

/* ============================================
   ADMIN USERS — FULL WIDTH DARK GLASS LAYOUT
============================================ */

/* Container */
.admin-container {
    width: 100%;
    padding: 20px 25px;
}

/* Main box */
.admin-box {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 25px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
}

/* Titles */
.admin-title {
    color: #fff;
    font-size: 26px;
    margin-bottom: 5px;
}

.admin-subtitle {
    color: #ccc;
    margin-bottom: 25px;
}

/* ============================
   FILTERS + SEARCH
============================ */
.admin-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.admin-search input {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.15);
    color: #fff;
    width: 240px;
}

.admin-filters select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.admin-filters button {
    margin-left: 10px;
}

/* ============================
   TABLE
============================ */
.admin-card {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.admin-table thead {
    background: rgba(255,255,255,0.12);
}

.admin-table th {
    padding: 12px;
    color: #fff;
    text-align: left;
    font-weight: 600;
}

.admin-table td {
    padding: 12px;
    color: #e6e6e6;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================
   USER CELL
============================ */
.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-photo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.admin-user-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.admin-user-name {
    font-weight: 600;
    color: #fff;
}

.admin-user-id {
    font-size: 12px;
    color: #aaa;
}

/* ============================
   BADGES
============================ */
.role-badge,
.status-badge {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.role-badge-user { background: #444; }
.role-badge-staff { background: #006994; }
.role-badge-admin { background: #e67451; }
.role-badge-superadmin { background: #ffd700; color: #000; }

/* Status colors */
.status-badge-active { background: #28a745; }
.status-badge-inactive { background: #6c757d; }
.status-badge-suspended { background: #dc3545; }

/* ============================
   ACTION BUTTONS
============================ */
.admin-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 10px;
    font-size: 13px;
}

/* ============================
   PAGINATION
============================ */
.pagination {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.page-info {
    color: #ccc;
}

/* ============================
   MODALS — DARK GLASS
============================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 12px;
    width: 360px;
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-box h3 {
    margin-bottom: 15px;
    color: #fff;
}

.modal-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 8px;
}

.modal-box button {
    width: 100%;
}

.role-modal-close,
.status-close {
    float: right;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}
.admin-subtitle {
    color: #f2f2f2 !important;
}
/* FORCE FULL WIDTH FOR USERS PAGE */
.admin-container .admin-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 0 25px rgba(0,0,0,0.35) !important;
}

/* BUTTONS */
.admin-card .btn-primary {
    background: #007bff;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
	margin-top: 10px;

    /* ΝΕΟ: full width για το narrow panel */
    width: 100%;
}

.admin-card .btn-danger {
    background: #cc3333;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* TABLE (GLASS) */
.admin-card .admin-table {
    width: 100%;
    border-collapse: collapse;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* THEAD FIX (theme override) */
.admin-card .admin-table thead {
    background: rgba(255,255,255,0.10) !important;
}

.admin-card .admin-table thead th {
    padding: 12px 14px;
    color: #f2f2f2 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-weight: 600;
}

/* TABLE ROWS */
.admin-card .admin-table tbody tr {
    background: rgba(255,255,255,0.04);
}

/* FIX BLUE TEXT — MAKE ALL TABLE TEXT WHITE */
.admin-card .admin-table tbody td,
.admin-card .admin-table thead th {
    color: #f2f2f2 !important;
}

.admin-card .admin-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* HOVER */
.admin-card .admin-table tbody tr:hover {
    background: rgba(255,255,255,0.18);
}

.admin-card .admin-table tbody tr:hover td {
    color: #000 !important;
}

.admin-card .admin-table tbody tr:hover td a {
    color: #000 !important;
}
.admin-user-name {
    color: #f2f2f2 !important;
}
.page-info {
    color: #f2f2f2 !important;
}

/* ============================================
   STATUS MANAGER — DARK GLASS LAYOUT
============================================ */

.admin-wrapper {
    width: 100%;
    padding: 25px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
}

/* Title */
.admin-wrapper .admin-title {
    color: #fff;
    margin-bottom: 20px;
}

/* Add button */
#btnAddStatus {
    margin-bottom: 20px;
}

/* TABLE */
.admin-wrapper .admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
}

.admin-wrapper .admin-table thead {
    background: rgba(255,255,255,0.12);
}

.admin-wrapper .admin-table th {
    padding: 12px;
    color: #fff;
    font-weight: 600;
    text-align: left;
}

.admin-wrapper .admin-table td {
    padding: 12px;
    color: #f2f2f2;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Color box */
.status-color-box {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    margin-right: 8px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* System column (5η στήλη) */
.admin-wrapper .admin-table tbody tr td:nth-child(5) {
    color: #f2f2f2 !important;
}

.admin-wrapper .admin-table tbody tr:hover td:nth-child(5) {
    color: #f2f2f2 !important;
}

/* ACTION BUTTONS */
.admin-wrapper .btn-small {
    padding: 6px 10px;
    font-size: 13px;
}

/* ============================================
   MODALS — DARK GLASS
============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 12px;
    width: 380px;
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-header {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.input-field,
.color-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.btn-close {
    float: right;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
/* ============================================
   LATEST FLIGHTS — STRIP STYLE
============================================ */

.latest-flights-section {
    margin-top: 40px;
    padding: 0 50px; /* 50px κενό αριστερά–δεξιά */
}

.latest-flights-title {
    color: #fff;
    font-size: 26px;
    margin-bottom: 20px;
}

/* Κάθε flight card = μία σειρά */
.latest-flights-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Dark‑glass card */
.flight-card {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 18px rgba(0,0,0,0.35);
    color: #fff;

    /* Hover animation */
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.flight-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(0,0,0,0.55);
}

/* STRIP LAYOUT — 5 ίσα μέρη */
.flight-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* Όλα τα στοιχεία ευθυγραμμισμένα με icons */
.flight-strip span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Route πιο έντονο */
.strip-route {
    font-size: 18px;
    font-weight: 600;
}

/* Aircraft λίγο πιο διακριτικό */
.strip-aircraft {
    opacity: 0.9;
}

/* Pilot πιο έντονος */
.strip-pilot {
    font-weight: 600;
}
/* ΜΟΝΟ για την index */
.content-wrapper {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}

.content-wrapper .content {
    width: 100%;
    max-width: none;
    margin: 40px 0;
}
.info-box {
    background: rgba(255,255,255,0.06); /* dark glass */
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 0 18px rgba(0,0,0,0.35);
    color: #fff;

    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.info-box.visible {
    background: rgba(255,255,255,0.10); /* όταν κάνει fade-in */
}
.form-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 25px !important;
}
.form-actions .btn {
    height: 42px !important;
    line-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
}
.admin-form {
    text-align: left !important;
}
.admin-box {
    text-align: left !important;
}
.admin-form .form-group {
    display: block !important;
}
/* ===========================
   FORGOT PASSWORD PAGE (DARK GLASS)
=========================== */

body.forgot-page {
    background: #0d1117;
    color: #e6e6e6;
}

.reset-wrapper {
    max-width: 420px;
    margin: 60px auto;
    padding: 28px 30px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.reset-wrapper h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #e6e6e6;
    text-align: center;
    font-weight: 600;
}

.reset-wrapper label {
    font-size: 14px;
    color: #c9d1d9;
    margin-bottom: 6px;
    display: block;
}

.reset-wrapper input[type="email"],
.reset-wrapper input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: #fff;
    outline: none;
    transition: 0.2s;
}

.reset-wrapper input:focus {
    border-color: #1f6feb;
    background: rgba(255,255,255,0.12);
}

.btn-primary {
    width: 100%;
    padding: 12px 16px;
    margin-top: 10px;
    background: #1f6feb;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #1158c7;
}

.alert.success {
    background: rgba(46, 160, 67, 0.2);
    border-left: 4px solid #2ea043;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    color: #56d364;
}

.alert.error {
    background: rgba(248, 81, 73, 0.2);
    border-left: 4px solid #f85149;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    color: #ff7b72;
}
/* RESET PASSWORD PAGE */
body.reset-page {
    background: #0d1117;
    color: #e6e6e6;
}

.reset-wrapper {
    max-width: 420px;
    margin: 60px auto;
    padding: 28px 30px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.reset-wrapper h1 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
    color: #e6e6e6;
}

.reset-wrapper label {
    font-size: 14px;
    color: #c9d1d9;
    margin-bottom: 6px;
    display: block;
}

.reset-wrapper input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: #fff;
    margin-bottom: 12px;
}

.reset-wrapper input:focus {
    border-color: #1f6feb;
}

.btn-primary {
    width: 100%;
    padding: 12px 16px;
    background: #1f6feb;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
}

.alert.success {
    background: rgba(46, 160, 67, 0.2);
    border-left: 4px solid #2ea043;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    color: #56d364;
}

.alert.error {
    background: rgba(248, 81, 73, 0.2);
    border-left: 4px solid #f85149;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    color: #ff7b72;
}
/* ===========================
   RANKS PUBLIC GRID
=========================== */

.ranksPublic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 35px;
}

/* Card */
.ranksPublic-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranksPublic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.55);
}

/* Photo wrapper */
.ranksPublic-photo-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

/* Photo */
.ranksPublic-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ranksPublic-card:hover .ranksPublic-photo {
    transform: scale(1.08);
}

/* Body */
.ranksPublic-card-body {
    padding: 18px;
    text-align: center;
}

.ranksPublic-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffd700;
}

.ranksPublic-hours {
    font-size: 15px;
    margin-bottom: 6px;
    color: #58a6ff;
}

.ranksPublic-description {
    font-size: 14px;
    color: #e6e6e6;
    margin-top: 12px;
    line-height: 1.45;
}

/* ===========================
   PAGE SPACING ONLY FOR RANKS PAGE
=========================== */

.page-container.ranks-page,
.page-container-narrow.ranks-page {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 20px !important;
}

/* ===========================
   MOBILE OPTIMIZATION
=========================== */

@media (max-width: 600px) {
    .downloads-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .downloads-filters input,
    .downloads-filters select,
    .downloads-filters button {
        width: 100%;
    }
}
