:root {
    --primary-color: #1e3a8a;         /* Dark Blue */
    --secondary-color: #60a5fa;       /* Light Blue */
    --lightblue-color: #94d8f5;       /* Light Blue */
    --text-color: #1f2937;            /* Dark Gray */
    --background-color: #f8fafc;      /* Off-white background */
    --accent-color: hsl(0, 0%, 0%);          /* Black */
    --danger-color: #c4b7b7;          /* Red Alert */
    --success-color: #16a34a;         /* Green Alert */
    --warning-color: #facc15;         /* Yellow Alert */
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background */
.main {
    min-height: 100vh;
    padding: 40px;
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), #a5c5f9, var(--primary-color));
    background-size: 400% 400%;
    animation: gradientBG 5s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fixed-top {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Login card */
.mw-login {
    position: relative;
    max-width: 85vw;
    max-height: 90vh;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.bankImg {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 60px;
    width: auto;
}

.side-img {
    height: 75vh;
    max-width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.form {
    /* background: linear-gradient(135deg, var(--primary-color), var(--light-blue)); */
    padding: 1rem;
    flex: 1;
    position: relative;
}

.fs-7 {
    font-size: 18px;
}

.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 10px 35px 10px 10px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 16px;
}

.icon {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    color: #1e3a8a; /* dark blue */
    font-size: 18px;
    transition: color 0.3s ease;
}

.icon:hover {
    color: #0d5bba; /* lighter hover */
}

.hide {
    display: none;
}

.remme {
    font-weight: 300;
    font-size: 15px;
    color: #555;
}

/* Buttons */
.button {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(26, 115, 232, 0.2); /* subtle shadow */
}

.button:hover {
    background-color: #0d5bba; /* slightly darker blue */
    transform: translateY(-2px); /* hover lift */
    box-shadow: 0 6px 10px rgba(26, 115, 232, 0.3);
}

/* Alerts */
.alert {
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.alert-danger {
    background-color: var(--lightblue-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
}

.alert-success {
    background-color: var(--success-color);
    color: #fff;
}

.alert-warning {
    background-color: var(--warning-color);
    color: #000;
}

/* Responsive */
@media only screen and (max-width: 992px) {
    .side-img {
        height: 30vh;
        width: 100%;
    }

    .mw-login {
        max-width: 95vw;
        max-height: 95vh;
    }

    .fs-7 {
        font-size: 20px;
    }

    .input-group input {
        font-size: 18px;
    }

    .button {
        padding: 10px 25px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 768px) {
    .side-img {
        display: none;
    }

    .mw-login {
        max-width: 100vw;
        max-height: 100vh;
        padding: 20px 10px;
        box-shadow: none;
    }

    .button {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .fs-7 {
        font-size: 17px;
    }

    .input-group input {
        font-size: 16px;
    }

    .remme {
        font-size: 14px;
    }

    .bankImg {
        height: 50px;
    }
}
