:root {
    --login-bg: #e5e8ef;
    --white: #ffffff;
    --text-main: #2b2b2b;
    --text-muted: #888888;
    --green: #11a62d;
    --border: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--login-bg);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background: var(--white);
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.header-logo {
    color: var(--green);
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-main);
    cursor: pointer;
}

.header-right img {
    width: 20px;
    border-radius: 2px;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-card {
    background: var(--white);
    width: 100%;
    max-width: 440px;
    border-radius: 8px;
    padding: 48px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.login-card h1 {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 32px;
    color: #000;
}

.input-group {
    margin-bottom: 24px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    background: transparent;
}

.input-group input:focus {
    border-bottom-color: var(--green);
}

.input-group input::placeholder {
    color: #a0a0a0;
}

.forgot-password {
    display: block;
    color: var(--green);
    font-size: 12px;
    text-decoration: none;
    margin-top: 8px;
}

.keep-logged-in {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 24px;
    cursor: pointer;
    margin-top: 12px;
}

.keep-logged-in input {
    accent-color: var(--green);
    width: 16px;
    height: 16px;
}

.btn-primary {
    width: 100%;
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #0d8a24;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider::before {
    margin-right: 16px;
}

.divider::after {
    margin-left: 16px;
}

.social-btn {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: background 0.2s;
}

.social-btn:hover {
    background: #f5f5f5;
}

.social-btn img {
    width: 18px;
    height: 18px;
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.signup-link {
    text-align: center;
    font-size: 12px;
    margin-top: 40px;
}

.signup-link a {
    color: var(--green);
    text-decoration: none;
}

.cookie-banner {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #444;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    line-height: 1.5;
}

.cookie-text a {
    color: #444;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-manage {
    background: var(--white);
    border: 1px solid #000;
    border-radius: 20px;
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-accept {
    background: #000;
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 9px 28px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.accessibility-icon {
    width: 32px;
    height: 32px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-left: 20px;
}

/* === MOBILE === */
@media (max-width: 640px) {
    body {
        background-color: var(--white);
    }

    .header {
        padding: 0 16px;
        height: 54px;
    }

    .header-logo {
        font-size: 20px;
    }

    .main-content {
        padding: 0;
        align-items: flex-start;
        min-height: calc(100vh - 54px);
    }

    .login-card {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 40px 24px 60px;
        box-shadow: none;
        min-height: calc(100vh - 54px);
    }

    .login-card h1 {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .input-group input {
        font-size: 16px;
    }

    .btn-primary {
        padding: 16px;
        font-size: 16px;
        border-radius: 50px;
    }

    .signup-link {
        margin-top: 32px;
        font-size: 14px;
    }

    /* Cookie banner on mobile */
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}