﻿.account-container {
    background-image: url('../images/ct1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* smoother visual */
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    min-height: 80vh;
    padding: 2rem; /* unified padding, works on mobile */
    box-sizing: border-box;
}

.account-box {
    background-color: rgba(255, 255, 255, 0.95); /* slightly transparent white */
    padding: 2rem; /* consistent padding in rem units */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* subtle shadow for depth */
    max-width: 400px; /* slightly narrower for better mobile fit */
    width: 100%;
    text-align: center; /* center form content */
}

    .account-box h2 {
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .account-box form .mb-3 {
        text-align: left; /* keep labels aligned left */
    }

    .account-box form input.form-control {
        padding: 0.5rem;
    }

    .account-box .btn {
        margin-top: 0.5rem;
    }

@media (max-width: 576px) {
    .account-container {
        padding: 1rem;
    }

    .account-box {
        max-width: 100%;
        padding: 1.5rem;
    }
}

.navbar-nav .nav-link {
    font-weight: 600; /* semi-bold (looks more modern than 700) */
    letter-spacing: 0.5px; /* improves readability */
    text-transform: uppercase; /* matches your style */
}

.navbar-nav .nav-link:hover {
        color: #198754; /* Bootstrap green or your brand color */
}

.footer-link {
    position: relative;
    display: inline-block;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    position: relative;
}

    .footer-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        color: #ffc107; /* gold highlight */
        background: #fff;
        transition: width 0.3s ease;
    }

    .footer-link:hover::after {
        width: 100%;
        color: #ffc107; /* gold highlight */
    }

/* Background (soft gradient, not dark) */
.login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
}

/* Card with subtle glass effect */
.login-container {
    display: flex;
    width: 950px;
    max-width: 95%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
}

/* Left branding (light but still styled) */
.login-brand {
    width: 45%;
    background: linear-gradient(135deg, #eaf2ff, #dce8ff);
    color: #0d6efd;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

    .login-brand h2 {
        font-weight: 700;
    }

    .login-brand p {
        color: #5a7bbd;
    }

/* Right form */
.login-form {
    width: 55%;
    padding: 50px;
}

/* Inputs */
.modern-input {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    padding: 12px;
}

    .modern-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
    }

/* Button */
.modern-btn {
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #0d6efd, #4dabf7);
    border: none;
    transition: all 0.25s ease;
}

    .modern-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(13,110,253,0.25);
    }

/* Eye icon */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

/* Mobile */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-form {
        width: 100%;
        padding: 30px;
    }
}

.input-validation-error {
    border-color: #dc3545;
}