:root {
    --bg-1: #6fb7b1;
    --bg-2: #5c9093;
    --bg-3: #84c3bc;
    --ink-1: #1c2b2f;
    --ink-2: #43565b;
    --card: #ffffff;
    --accent: #4aa89f;
    --accent-dark: #3a8f86;
    --border: rgba(28, 43, 47, 0.12);
    --shadow: 0 24px 60px rgba(14, 40, 42, 0.22);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Sora', sans-serif;
    color: var(--ink-1);
    background: linear-gradient(130deg, var(--bg-1), var(--bg-2));
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.55;
    z-index: 0;
}

.orb-1 {
    width: 420px;
    height: 420px;
    left: -120px;
    top: -80px;
    background: radial-gradient(circle at 30% 30%, #c9efe8, var(--bg-3));
}

.orb-2 {
    width: 320px;
    height: 320px;
    right: -80px;
    bottom: -120px;
    background: radial-gradient(circle at 70% 30%, #b9f0e8, #79b5ae);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.4;
    z-index: 0;
}

.login-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
    z-index: 1;
}

.login-card {
    width: min(500px, 92vw);
    background: var(--card);
    border-radius: 22px;
    padding: 36px 32px 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: floatIn 0.8s ease both;
}

.brand-top {
    text-align: center;
    margin-bottom: 18px;
}

.brand-logo {
    width: 120px;
    height: auto;
    margin-bottom: 8px;
}

.brand-caption {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--ink-2);
}

.login-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin-bottom: 4px;
}

.login-subtitle {
    font-size: 14px;
    color: var(--ink-2);
    margin-bottom: 22px;
}

.input-wrap {
    margin-bottom: 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.input-group-text {
    background: #f1f8f7;
    border: none;
    color: var(--ink-2);
    padding: 0 14px;
}

.form-control {
    border: none;
    padding: 12px 14px;
    font-size: 14px;
}

.form-control:focus {
    box-shadow: none;
    outline: none;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.text-link {
    color: var(--accent-dark);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.btn-login {
    background: linear-gradient(120deg, var(--accent), #5fc1b8);
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 30px rgba(65, 150, 140, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(65, 150, 140, 0.4);
}

.login-footer {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--ink-2);
}

.login-footer img {
    height: 22px;
    opacity: 0.85;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 22px 22px;
    }

    .login-title {
        font-size: 22px;
    }
}
