.main-wrapper {
    background: url("/images/background.jpg") no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInBackground 2s ease-out;
}

/* --- LOGIN BOX (Frosted Glass Effect on .account-content) --- */
.account-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;

    /* Frosted Glass Layer over the background */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(8px);
}

.account-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: slideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.account-wrapper {
    padding: 10px;
}

.account-title {
    color: #007bff;
    margin-bottom: 5px;
    font-size: 28px;
    font-weight: 700;
}

.account-subtitle {
    margin-bottom: 30px;
    font-size: 14px;
    color: #6c757d;
}

/* --- INPUT FIELD STYLING (Now explicitly 100% width) --- */
.form-group {
    margin-bottom: 25px; /* Ensures a visible vertical gap between form groups */
}

/* Remove margin from the very last direct child of the form to avoid space below the entire form block. */
form > .form-group:last-child {
    margin-bottom: 0;
}

.form-control {
    border-radius: 6px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    width: 100%; /* Ensures 100% width of the parent .form-group */
}
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-group label {
    font-weight: 600;
    display: block;
    text-align: left;
    margin-bottom: 5px;
}

/* --- ANIMATED LOGIN BUTTON (Already 100% width) --- */
.animated-btn {
    width: 100%;
    padding: 15px;
    background-color: #db611a;
    color: #212529;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Pseudo-element for the animated slide effect */
.animated-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: width 0.4s ease;
    z-index: 0;
}

.animated-btn:hover::before {
    width: 100%;
}

.animated-btn:hover {
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
    transform: translateY(-3px);
    color: #000;
}

.animated-btn i {
    margin-left: 10px;
    transition: transform 0.4s;
}

.animated-btn:hover i {
    transform: translateX(5px);
}

.animated-btn span {
    position: relative;
    z-index: 2;
}

/* --- Animations --- */
@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
