/* =========================
   GLOBAL RESET
========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f8fb;
    font-family: Arial, sans-serif;
}

.page-body {
    flex: 1;
    margin-top: 70px;
    min-height: calc(100vh - 70px - 60px);
    display: flex;
    overflow: auto;
}

    .page-body > * {
        width: 100%;
    }

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

.container,
.container-fluid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* =========================
   HEADER / NAVBAR
========================= */

.custom-navbar {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1100;
    display: flex;
    align-items: center;
    padding: 0 20px;
    overflow: hidden;
    background: linear-gradient( 135deg, #0f172a 0%, #1e3a5f 35%, #2563eb 70%, #38bdf8 100% );
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

    /* Water Glow Animation */
    .custom-navbar::before {
        content:"";
        position:absolute;
        top:-120%;
        left:-40%;
        width:180%;
        height:300%;
        background: radial-gradient( circle, rgba(255,255,255,0.22) 8%, rgba(255,255,255,0.08) 25%, transparent 65% );
        animation: waterMove 12s linear infinite;
        pointer-events: none;
    }

    /* Soft Wave Overlay */
    .custom-navbar::after {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-radial-gradient( circle at 50% 50%, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.03) 12px, transparent 24px );
        opacity: 0.5;
        pointer-events: none;
    }

/* Animation */
@keyframes waterMove {

    0% {
        transform: translate(0,0) rotate(0deg);
    }

    50% {
        transform: translate(-3%,3%) rotate(180deg);
    }

    100% {
        transform: translate(0,0) rotate(360deg);
    }
}

/* =========================
   LOGO
========================= */

.navbar-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0;
    margin: 0;
}

.logo-img {
    width: 150px; /* increase width */
    height: 60px; /* increase height */
    object-fit: fill; /* allow full stretch */
    display: block;
}

/* =========================
   LOGIN BUTTON
========================= */

.btn-login-custom {
    position: relative;
    z-index: 2;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

    .btn-login-custom:hover {
        background: #ffffff;
        color: #0f172a !important;
        font-weight:500;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }

    .btn-login-custom:active {
        transform: scale(0.96);
    }

/* Mobile */
@media (max-width:576px) {

    .custom-navbar {
        padding: 0 12px;
    }

    .logo-img {
        height: 42px;
    }

    .btn-login-custom {
        padding: 7px 12px;
        font-size: 13px;
    }
}
/*==========================
 This is My Login Form Css Now
==========================*/
/* Background */
.login-container {
    height:auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Card */
.login-card {
    width:100%;
    width:450px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: white;
    margin: auto;
}
    .login-card > * {
        min-width: 0; /* ?? prevents overflow inside flex */
    }
/* Right Section */
.login-right {
    width: 100%;
    padding: 25px;
}
.form-img {
    width: auto;
    height: 150px;
    display: block;
    margin: 0 auto 20px auto;
}
.login-right h3 {
    margin-bottom: 20px;
}
/* FORM GROUP */
.form-group-custom {
    margin-bottom:8px;
}
    /* LABEL */
    .form-group-custom label {
        display: block;
        margin-bottom: 5px;
        font-size: 16px;
        font-weight: 600;
        color: #374151; /* dark gray */
    }

/* INPUT */
.form-control {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border: 2px solid #359EF3; /* light border */
    border-radius: 12px;
    font-size: 14px;
    color: #1E293B;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form-control:valid {
        background-color: #d4edda !important;
        border-color: #359EF3 !important;
        color: #1E293B;
    }

    /* INVALID INPUT */
    .form-control:invalid {
        background-color: #fff3cd;
    }

    /* PLACEHOLDER */
    .form-control::placeholder {
        color: #1E293B; /* soft gray */
        font-size: 14px;
        font-weight: 600;
    }

    /* HOVER EFFECT */
    .form-control:hover {
        border-color: #6366f1;
    }

    /* FOCUS EFFECT (IMPORTANT) */
    .form-control:focus {
        outline: none;
        border-color: #4f46e5;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    }

.custom-input:not(:placeholder-shown) {
    color: #1E293B;
}
/* Option Styling */
select.form-control option {
    font-weight: 500;
    color: #1E293B;
    font-size: 16px;
    background-color: #ffffff;
    padding: 10px;
}
    /* Selected Option */
    select.form-control option:checked {
        background-color: #0d6efd;
        color: white;
        font-weight: bold;
    }
/* Button */
.btn-login {
    width: 100%;
    background: #3294F2;
    color: white;
    border: 4px solid #1E293B;
    padding: 10px;
    border-radius: 14px;
    transition: 0.3s;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(79,70,229,0.3);
        background: #ffffff;
        color: #0f172a !important;
    }

h2 {
    font-weight: 700;
    color: #1E293B;
}

@media (max-width:400px) {
    .login-card {
        flex-direction: column; /* stack layout */
        justify-content: center;
        align-items: center;
        width:300px;
    }

        .login-card .login-right .title {
            margin-bottom: 20px;
        }

        .login-card .login-right .form-img {
            align-items: center;
            width: auto;
            height: 150px;
           
        }

 
}

@media (max-width:250px) {
    .login-card {
        flex-direction: column; /* stack layout */
        justify-content: center;
        align-items: center;
        width:200px;
    }

    .login-card .login-right .title {
        margin-bottom: 25px;
    }

        .login-card .login-right .form-img {
            align-items: center;
            width:160px;
            height: 150px;
        }
}

/* =========================
   FOOTER
========================= */

footer {
    min-height:60px;
    background:#2F81EF;
    color:#fff;
    display:flex;
    justify-content:center; /* horizontal center */
    align-items:center; /* vertical center */
}
