* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.28), transparent 32%),
        linear-gradient(140deg, #fff8ef 0%, #f4ede4 45%, #e8f2ee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-container {
    width: 100%;
    max-width: 520px;
}

.login-card {
    background: rgba(255, 252, 247, 0.92);
    border: 1px solid rgba(191, 219, 208, 0.65);
    border-radius: 32px;
    padding: 42px 34px;
    box-shadow: 0 30px 80px rgba(71, 85, 105, 0.16);
    backdrop-filter: blur(10px);
}

.logo-link {
    text-decoration: none;
}

.logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.logo-container img {
    max-width: 170px;
    height: auto;
}

.welcome-text {
    text-align: center;
    margin-bottom: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.welcome-text h1 {
    font-size: 28px;
    line-height: 1.15;
    color: #172033;
    margin-bottom: 8px;
    font-weight: 700;
}

.welcome-text p {
    color: #5b6474;
    font-size: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
}

.form-control {
    min-height: 52px;
    padding: 12px 18px 12px 48px;
    border-radius: 16px !important;
    border: 1px solid #d7dfd6;
    background: rgba(255, 255, 255, 0.86);
    color: #172033;
    font-size: 14px;
}

.form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.14);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    z-index: 2;
}

.btn-login {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f766e 0%, #115e59 55%, #b45309 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(17, 94, 89, 0.22);
}

.btn-google-login {
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    border: 1px solid #d6ddd5;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-google-login:hover {
    color: #0f172a;
    border-color: #f59e0b;
}

.divider {
    position: relative;
    text-align: center;
    margin: 18px 0 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #d8e0dd;
}

.divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #f8f4ee;
    color: #7c8798;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.register-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dde6e3;
}

.register-link p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.register-link a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}

.register-link a:hover {
    color: #b45309;
}

.alert {
    border-radius: 16px;
    border: none;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.spinner-border-sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

@media (max-width: 576px) {
    .login-card {
        padding: 34px 22px;
        border-radius: 24px;
    }

    .welcome-text h1 {
        font-size: 24px;
    }
}