/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #004d7a, #008793, #00bf72, #a8eb12);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    line-height: 1.6;
}

/* Background Gradient Animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #00ffcc;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 2rem;
    letter-spacing: 2px;
}

/* Navigation */
nav {
    margin-top: 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

nav a:hover, nav a.active {
    background-color: #00ffcc;
    color: #000;
}

/* Sections */
main {
    padding: 20px;
}

section {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th, table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

table th {
    background-color: rgba(0,0,0,0.6);
}

table tr:hover {
    background-color: rgba(0, 255, 204, 0.3);
    transition: 0.3s ease;
}

/* Search Bar */
#searchBar {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    outline: none;
    margin-bottom: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

/* Lists */
ul {
    list-style: none;
}

ul li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid #00ffcc;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Links */
a {
    color: #00ffcc;
}

a:hover {
    color: #fffa65;
}

/* Glow Animation for Links & Buttons */
a, button {
    transition: all 0.3s ease;
}

a:hover, button:hover {
    text-shadow: 0 0 5px #fff, 0 0 10px #00ffcc;
}
/* Loader Styles */
#loader {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 1.2rem;
    letter-spacing: 1px;
}
/* Spinner Circle Animation */
.spinner {
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid #00ffcc;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1.2s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin {
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}
/* Hide Loader */
body.loader #loader {
    opacity: 0;
    visibility:hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}