/* ========== GLOBAL RESET ========== */
body {
    background-color: #F8FAFB;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #003344;
    margin: 0;
    padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #004b57; /* slightly deeper blue-teal for contrast */
    font-weight: 600;
}

/* Links */
a {
    text-decoration: none;
    color: #006b77;
    transition: color 0.3s ease;
}
a:hover {
    color: #004046;
}

/* ========== NAVBAR ========== */
.navbar {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.85), rgba(224, 255, 255, 0.85)) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin: 10px;
    padding: 5px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.nav-btn {
    text-decoration: none;
    color: #004d66;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}
.nav-btn:hover {
    background-color: rgba(0, 77, 102, 0.1);
    color: #003344;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: linear-gradient(135deg, #add8e6, #99d6dd);
    border: none;
    color: #003344;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #99d6dd, #80cdd4);
    color: #002b36;
}
.btn-outline-primary {
    border-color: #99d6dd;
    color: #004d66;
}
.btn-outline-primary:hover {
    background-color: rgba(173, 216, 230, 0.2);
    border-color: #80cdd4;
}

/* ========== CARDS ========== */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background-color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* ========== FORMS ========== */
input, select, textarea {
    border-radius: 8px !important;
    border: 1px solid #cce5e9 !important;
    padding: 8px;
}
input:focus, select:focus, textarea:focus {
    border-color: #99d6dd !important;
    box-shadow: 0 0 0 0.2rem rgba(173,216,230,0.3) !important;
    outline: none;
}

/* ===== FOOTER ===== */
.footer-custom {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.9), rgba(224, 255, 255, 0.9));
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 10px;
}

/* Footer links */
.footer-link {
    color: #004d66;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s, background-color 0.3s;
    padding: 4px 8px;
    border-radius: 6px;
}
.footer-link:hover {
    color: #002b36;
    background-color: rgba(0, 77, 102, 0.1);
}

/* ===== Light Pastel Table Theme ===== */
table.table {
    background-color: rgba(255, 255, 255, 0.97) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

/* Table header - slightly deeper teal to work with grey */
table.table thead th {
    background-color: #b4e6e3 !important; /* soft teal-blue */
    color: #003c42 !important;
    font-weight: 600 !important;
}

/* Odd rows */
.table-striped.table > tbody > tr:nth-of-type(odd) {
    background-color: #f5fbfa !important;
}

/* Even rows */
.table-striped.table > tbody > tr:nth-of-type(even) {
    background-color: #ffffff !important;
}

/* Borders */
table.table, table.table th, table.table td {
    border-color: rgba(0, 0, 0, 0.04) !important;
}

/* Hover effect */
table.table tbody tr:hover {
    background-color: rgba(0, 170, 160, 0.10) !important;
}
