/* Standalone Centered Layout */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.auth-centered-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
}

.auth-centered-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* Card Styling */
.auth-centered-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-home-centered {
    position: absolute;
    top: -50px;
    left: 0;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-home-centered:hover {
    color: #ccab5e;
}

.login-header-centered {
    text-align: center;
    margin-bottom: 40px;
}

.login-header-centered h2 {
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.login-header-centered p {
    color: #777;
}

/* Form Styles */
.premium-form-centered .form-group {
    margin-bottom: 25px;
}

.premium-form-centered label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.premium-input-centered {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e1e1e1;
    background: #fdfdfd;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.premium-input-centered:focus {
    border-color: #ccab5e;
    background: #fff;
    box-shadow: 0 4px 15px rgba(204, 171, 94, 0.1);
}

/* Buttons */
.btn-premium-centered {
    width: 100%;
    padding: 16px;
    background: #990103;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-premium-centered:hover {
    background: #7a0101;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(153, 1, 3, 0.3);
}

.form-footer-centered {
    text-align: right;
    margin-top: 10px;
}

.form-footer-centered a {
    color: #ccab5e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link-centered {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    color: #888;
}

.register-link-centered a {
    color: #990103;
    font-weight: 600;
    text-decoration: none;
}

.register-link-centered a:hover {
    text-decoration: underline;
}

/* Error Messages */
.alert-premium-centered {
    padding: 15px;
    background: #fff4f4;
    border-left: 5px solid #990103;
    color: #990103;
    margin-bottom: 25px;
    border-radius: 6px;
}

.error-msg {
    display: block;
    color: #990103;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 540px) {
    .auth-centered-card {
        padding: 30px 20px;
    }
}