/* ===== LOGIN PAGE STYLES ===== */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    
}

.login-shell {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

/* ===== FORM CARD (MAIN) ===== */
.login-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.7) 0%, rgba(5, 5, 5, 0.85) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(5, 171, 158, 0.2);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #05AB9E, #02665e);
}

.login-card-header {
    position: relative;
    z-index: 1;
}

.login-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.login-card-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* ===== FORM BODY ===== */
.login-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== FORM GROUPS ===== */
.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== INPUT WRAPPER ===== */
.login-input-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(5, 171, 158, 0.3) !important;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.login-input-icon:focus-within {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #05AB9E !important;
    box-shadow: 0 0 15px rgba(5, 171, 158, 0.2) !important;
}

.login-input-icon i {
    color: rgba(5, 171, 158, 0.8);
    font-size: 1rem;
}

/* ===== INPUT FIELD ===== */
.login-input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    flex: 1;
    padding: 0 !important;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.login-input:focus {
    outline: none !important;
}

/* ===== PASSWORD WRAPPER ===== */
.login-password-wrapper {
    position: relative;
}

/* ===== PASSWORD TOGGLE ===== */
.login-password-toggle {
    background: none;
    border: none;
    color: rgba(5, 171, 158, 0.8);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-password-toggle:hover {
    color: #05AB9E;
}

/* ===== SUBMIT BUTTON ===== */
.login-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, rgba(5, 171, 158, 0.9), #034f49);
    color: #ffffff;
    border: 1px solid rgba(5, 171, 158, 0.8);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.login-btn-submit:hover {
    background: #05AB9E;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(5, 171, 158, 0.6);
    transform: translateY(-2px);
}

.login-btn-submit:active {
    transform: translateY(0);
}

.login-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== SPINNER ===== */
.login-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-spinner .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
    color: #ffffff;
}

/* ===== ERROR MESSAGES ===== */
.login-error {
    color: #ff6b7b;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
}

/* ===== DIVIDER ===== */
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 8px 0;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(5, 171, 158, 0.2);
}

/* ===== HELPER LINKS ===== */
.login-helper-links {
    display: flex;
    justify-content: center;
}

.login-link {
    color: #05AB9E;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.login-link:hover {
    color: #ffffff;
}

/* ===== FOOTER ===== */
.login-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .login-page {
        padding: 20px 12px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .login-card-title {
        font-size: 1.5rem;
    }
}
