/* Global Settings */
body {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 6em;
    padding: 0;
}

/* Wrapper for content */
.container {
    max-width: 1200px;
    margin: 50px auto; /* Centering the container using auto margins */
    padding: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #0078d4;
    text-shadow: 0 0 2px rgba(0, 120, 212, 0.3);
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

/* Links */
a {
    color: #0078d4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #6ec1e4;
}

/* Form Elements Inline Layout */
form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px; /* Spacing between elements */
}

input[type="text"], input[type="number"], textarea, select {
    background-color: #f0f4f8;
    border: 2px solid #0078d4;
    padding: 2px;
    border-radius: 5px;
    color: #333333;
    font-size: 1rem;
    margin-right: 10px;
    flex: 1; /* Allow elements to grow in width */
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
    border-color: #6ec1e4;
    box-shadow: 0 0 5px rgba(0, 120, 212, 0.5);
    outline: none;
}

/* Buttons Inline with Form Elements */
button {
    background: linear-gradient(145deg, #e8f4f8, #cfd8dc);
    border: 2px solid #0078d4;
    border-radius: 5px;
    padding: 4px 2px;
    font-size: 0.8rem;
    color: #0078d4;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 5px rgba(0, 120, 212, 0.2);
}

button:hover {
    background: linear-gradient(145deg, #cfd8dc, #e8f4f8);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
}

button:active {
    transform: scale(0.95);
}
button:disabled {
    transform: scale(0.05);
}

/* Inline Form Group for Specific Label and Input Grouping */
.form-group {
    display: flex;
    align-items: center;
    gap: 10px; /* Spacing between label and input */
    margin-bottom: 10px;
}

label {
    font-size: 1rem;
    color: #0078d4;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #f7f9fa;
    border: 2px solid #0078d4;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 120, 212, 0.1);
}

th, td {
    padding: 3px;
    text-align: left;
    border: 2px solid #0078d4;
}

th {
    background-color: #e0f7ff;
    color: #0078d4;
    font-weight: bold;
}

td {
    color: #333333;
}

tr:hover {
    background-color: #e0f4ff;
}

/* Cards */
.card {
    background-color: #f7f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 120, 212, 0.1);
    margin-bottom: 20px;
    color: #333333;
}

/* Footer */
footer {
    background-color: #f0f4f8;
    color: #0078d4;
    text-align: center;
    padding: 20px;
    width: 100%;
    position: relative;
    margin-top: 20px;
    border-top: 2px solid #0078d4;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #0078d4;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #6ec1e4;
}

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

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/* Animations */
@keyframes glowing {
    0% { box-shadow: 0 0 5px rgba(0, 120, 212, 0.3); }
    50% { box-shadow: 0 0 10px rgba(0, 120, 212, 0.7); }
    100% { box-shadow: 0 0 5px rgba(0, 120, 212, 0.3); }
}

.glow {
    animation: glowing 2s infinite;
}


/* Basic styling for table headers */
th {
  cursor: pointer; /* Show a pointer cursor to indicate it's clickable */
  position: relative; /* Required to position the arrow icons */
  padding-right: 20px; /* Space for the arrow */
}

/* Ascending arrow */
th.ascending::after {
  content: "\25B2"; /* Unicode for up arrow */
  position: absolute;
  right: 5px;
  font-size: 0.8em;
  color: gray;
}

/* Descending arrow */
th.descending::after {
  content: "\25BC"; /* Unicode for down arrow */
  position: absolute;
  right: 5px;
  font-size: 0.8em;
  color: gray;
}

/* Optional: Style to clear the arrow when no sort order is applied */
th:not(.ascending):not(.descending)::after {
  content: ""; /* No arrow shown */
}

/* === Navigation Bar Modern Flat Style === */
nav {
    width: 100vw;
    background: linear-gradient(90deg, #0078d4 0%, #6ec1e4 100%);
    box-shadow: 0 4px 18px -2px rgba(0,120,212,0.10), 0 1.5px 5px rgba(34,40,49,0.04);
    font-family: 'Orbitron', 'Roboto', sans-serif;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    margin: 0;
}

nav ul {
    display: flex;
    align-items: center;
    height: 64px;
    margin: 0;
    padding: 0 50px;
    list-style: none;
    gap: 30px;
}

nav li {
    list-style: none;
}

nav li:first-child a {
    font-weight: bold;
    font-size: 1.6rem;
    background: linear-gradient(90deg, #fff 60%, #e0f7ff 100%);
    color: #0078d4;
    border-radius: 8px;
    padding: 12px 26px;
    margin-right: 16px;
    box-shadow: 0 2px 8px -3px rgba(34,34,70,.08);
    letter-spacing: 1px;
    transition: box-shadow 0.3s, background 0.15s, color 0.2s;
}

nav li:first-child a:hover {
    background: linear-gradient(90deg, #e0f7ff 60%, #fff 100%);
    color: #6ec1e4;
    box-shadow: 0 5px 24px -3px rgba(0,120,212,0.08);
}

nav a {
    display: inline-block;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.25s, color 0.2s, box-shadow 0.18s;
    position: relative;
    letter-spacing: 0.5px;
}



