:root {
  --primary: #FFFFFF;
  --accent: #00e0b8;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #facc15;
  --bg: #FFFFFF;
  --bg-alt: #FFFFFF;
  --bg-card: #2f353d;
  --border: #3a4048;
  --shadow: 0 4px 10px rgba(0,0,0,0.4);
  --text: #e4e6eb;
  --text-muted: #9ea2a8;
}
/* GLOBAL */
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
/* General text color */
body, p, h1, h2, h3, h4, h5, h6, a {
    color: #000; /* Black text color */
    font-family: Arial, sans-serif;
}

/* Blue banner styling */
.banner {
    background-color: #007bff; /* Blue background */
    color: white; /* White text on banner */
    padding: 10px;
    text-align: center;
    font-size: 1.5em;
}

/* Blue button styling */
button, .btn {
    background-color: #007bff; /* Blue button color */
    border: none;
    color: white; /* White text */
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover, .btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

button:active, .btn:active {
    background-color: #004080; /* Even darker blue on click */
}

button:focus, .btn:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Custom focus shadow */
}

/* Optional: Styling for links */
a {
    color: #007bff; /* Blue link color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Optional: Styling for form inputs */
input[type="text"], input[type="email"], input[type="password"], textarea {
    border: 1px solid #007bff; /* Blue border for input fields */
    padding: 8px;
    border-radius: 4px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
    outline: none;
    border-color: #0056b3; /* Darker blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Custom focus shadow */
}
 /* Navigation bar container
        .navbar {
            background-color: #FFFFFF; /* White background */
            justify-content: center;
            text-align: center;
            overflow: hidden; /* Clear float */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for separation */
            border-bottom: 1px solid #ddd; /* Optional: Light bottom border */
        }

        /* Navbar links */
        .navbar a {
            float: left; /* Align links horizontally */
            display: block;
            color: #000; /* Black text color */
            text-align: center;
            padding: 14px 20px; /* Padding around the links */
            text-decoration: none; /* Remove underlines */
            font-size: 17px;
        }

        /* Change color on hover */
        .navbar a:hover {
            background-color: #f1f1f1; /* Light gray background on hover */
            color: #007bff; /* Blue text color on hover */
        }

        /* Active/current link */
        .navbar a.active {
            border-bottom: 2px solid #007bff; /* Blue border at the bottom of active link */
            color: #007bff; /* Blue text color */
        }

        /* Responsive adjustments for smaller screens */
        @media screen and (max-width: 600px) {
            .navbar a {
                float: none; /* Stack links vertically */
                display: block;
                text-align: left;
                padding: 12px; /* Adjust padding */
            }
        }*/

/* ==========================================
   FIXED CHROME-SAFE DROPDOWN (WHITE THEME)
   ========================================== */

.navbar-container {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  overflow: visible; /* critical fix for Chrome */
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  gap: 4px;
  overflow: visible; /* critical fix for Chrome */
  position: relative;
}

.navbar a,
.navbar .dropbtn {
  background: none;
  border: none;
  color: #000;
  text-decoration: none;
  font-size: 17px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.navbar a:hover,
.dropdown:hover .dropbtn,
.dropbtn:focus {
  background-color: #f1f1f1;
  color: #007bff;
}

/* Dropdown Wrapper */
.dropdown {
  position: relative;
}

/* Dropdown Menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;          /* right below the button */
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 2000;      /* above everything */
  animation: fadeIn 0.2s ease-in-out;
}

/* Dropdown Links */
.dropdown-content a {
  color: #000;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  transition: background 0.2s, color 0.2s;
}

.dropdown-content a:hover {
  background: #f1f1f1;
  color: #007bff;
}

/* Hover behavior for desktop */
@media (hover: hover) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive (stack vertically on small screens) */
@media screen and (max-width: 600px) {
  .navbar {
    flex-direction: column;
  }
  .navbar a,
  .navbar .dropbtn {
    width: 100%;
    text-align: left;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    display: none;
  }
}

p {
    background-color: #BFCCF2; /* Light blue background */
    color: black; /* Black text color */
    padding: 10px; /* Optional: Padding for spacing */
    border-radius: 5px; /* Optional: Rounded corners */
}
.logo {
            width: 200px;
            height: 100px;
            text-align: center;
            margin: 20px auto;
        }
        .logo img {
            width: 100%; /* Make the image take the full width of the container */
            height: auto; /* Adjust the height to maintain aspect ratio */
        }
.corner-image {
            position: absolute; /* Set the position to absolute */
            top: 10px; /* Position 10px from the top */
            right: 10px; /* Position 10px from the right */
            width: 100px; /* Set the image width */
            height: auto; /* Maintain the image aspect ratio */
        }
.container {
            display: flex;            /* Use flexbox layout */
            flex-direction: row;       /* Arrange items in a horizontal row */
            justify-content: center;   /* Center the items horizontally */
            align-items: center;       /* Center the items vertically */
            background-color: #FFFFFF; /* Light background color */
            padding: 20px;
        }

/* ==========================================
   CSV TABLE FIXES (Prevent Overflow + Maintain Layout)
   ========================================== */

.table-container {
  max-height: 500px;
  overflow-y: auto;          /* Scroll vertically */
  overflow-x: auto;          /* Scroll horizontally */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 10px;
  background: var(--bg-card);
}

/* Force columns to stay uniform */
.data-table.fixed {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  word-break: break-word;    /* Handle text breaks gracefully */
}

/* ==========================================
   TABLE HEADER FIX – BETTER READABILITY
   ========================================== */
.data-table.fixed th {
  background: #1f242b;             /* darker header background for contrast */
  color: #f0f0f0;                  /* soft off-white text */
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid #2acbfd;
  text-align: left;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
  letter-spacing: 0.3px;
}
/* Data cells */
.data-table.fixed td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;       /* Prevent wrapping */
}

/* Add horizontal scroll if needed */
.data-table.fixed tr:hover {
  background: rgba(42, 203, 253, 0.08);
}

/* Make long text scrollable inside the cell */
.data-table.fixed td:hover {
  white-space: normal;       /* Expand text on hover */
  overflow-wrap: break-word; /* Break words cleanly */
  background: rgba(42, 203, 253, 0.05);
}
