/* assets/css/login.css */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d283e 0%, #081b2a 50%, #004d4d 100%);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Background animated circles */
.login-wrapper::before,
.login-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
}

.login-wrapper::before {
    width: 450px;
    height: 450px;
    background: #00cccc;
    top: -100px;
    left: -100px;
}

.login-wrapper::after {
    width: 400px;
    height: 400px;
    background: #009999;
    bottom: -80px;
    right: -80px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 2.5rem 2.2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 10;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    max-width: 170px;
    height: auto;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.login-brand h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.login-brand h1 span {
    color: #009999;
}

.login-brand p {
    font-size: 0.85rem;
    color: #64748b;
}

.login-form .form-group {
    margin-bottom: 1.25rem;
}

.login-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s;
}

.input-with-icon input {
    width: 100%;
    padding: 0.75rem 0.85rem 0.75rem 2.4rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.25s ease;
}

.input-with-icon input:focus {
    background: #ffffff;
    border-color: #009999;
    box-shadow: 0 0 0 4px rgba(0, 153, 153, 0.15);
    outline: none;
}

.input-with-icon input:focus + .icon,
.input-with-icon:focus-within .icon {
    color: #009999;
}

.btn-login {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #009999 0%, #007a7a 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 153, 153, 0.35);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.btn-login:hover {
    background: linear-gradient(135deg, #00b3b3 0%, #008f8f 100%);
    box-shadow: 0 6px 16px rgba(0, 153, 153, 0.45);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.login-footer {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.user-hint-box {
    margin-top: 1.2rem;
    padding: 0.6rem 0.8rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.4;
    border-left: 3px solid #009999;
}
