/* Global Reset & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f7fb;
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #004c99, #0066cc);
    padding: 15px 20px;
    border-bottom: 3px solid #003366;
}

.navbar-brand {
    color: #fff !important;
    font-size: 22px;
    font-weight: 600;
}

.nav-link {
    color: #fff !important;
    margin-left: 20px;
    font-size: 16px;
    transition: 0.3s;
}
.nav-link:hover {
    color: #ffd700 !important;
}

/* Header Title */
.page-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: #003366;
    margin: 20px 0;
    animation: fadeInDown 1s ease-in-out;
}

/* Cards for Forms */
.card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 20px;
    background: #fff;
    animation: fadeInUp 0.8s ease-in-out;
}

/* Buttons */
.btn-primary {
    background: #0066cc;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-primary:hover {
    background: #004c99;
    transform: scale(1.05);
}

.btn-outline-secondary {
    border: 2px solid #0066cc;
    color: #0066cc;
    font-weight: 500;
}
.btn-outline-secondary:hover {
    background: #0066cc;
    color: #fff;
}

/* Inputs */
.form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
}
.form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.2);
}

/* CAPTCHA */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}
.captcha-box img {
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 50px;
}
.captcha-box a {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
}
.captcha-box a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    border-radius: 8px;
}

/* Footer */
.footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 50px;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dynamic Hover Effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

/* Admin Dashboard */
.admin-header {
    background: #0066cc;
    color: #fff;
    padding: 15px;
    font-size: 20px;
    font-weight: 600;
}
.sidebar {
    background: #003366;
    color: #fff;
    height: 100vh;
    padding: 20px;
    position: fixed;
    width: 220px;
}
.sidebar a {
    display: block;
    color: #fff;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: 0.3s;
}
.sidebar a:hover {
    background: #0066cc;
}
