:root {
    --bg: #f3f3f5;
    --text: #191b23;
    --muted: #6c6e79;
    --border: #c7cad3;
    --link: #006dca;
    --orange: #ff642d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.topbar {
    position: absolute;
    top: 12px;
    left: 20px;
}

.logo {
    width: 136px;
    height: auto;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 230px 34px 24px;
}

.card {
    width: 100%;
    max-width: 340px;
}

h1 {
    font-size: 31px;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 18px;
}

.google-btn {
    width: 100%;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #3c4043;
    cursor: pointer;
    position: relative;
}

.google-btn svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.divider {
    margin: 18px 0 14px;
    display: flex;
    align-items: center;
    color: #9da1af;
    font-size: 12px;
    gap: 12px;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    background: #bfc2cb;
    flex: 1;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.input-wrap {
    position: relative;
}

.input-wrap input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    padding: 0 36px 0 12px;
    font-size: 14px;
    outline: none;
}

.input-wrap input:focus {
    border-color: #8ab9ff;
    box-shadow: 0 0 0 2px rgba(0, 109, 202, 0.14);
}

.input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #a9abb6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.input-wrap surfhark-icon[data-sharkidicon="__0"] {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
}

.forgot {
    display: block;
    text-align: right;
    font-size: 13px;
    color: var(--link);
    margin-top: 2px;
    margin-bottom: 24px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-btn {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: var(--orange);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.login-btn:hover {
    background: #f0551b;
}

.extra {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text);
    line-height: 1.4;
}

.extra p {
    margin-bottom: 16px;
}

.extra a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.saml {
    font-size: inherit;
    font-weight: 400;
}

@media (max-width: 420px) {
    .topbar {
        left: 14px;
    }

    .card {
        max-width: 100%;
    }

    .container {
        padding-top: 76px;
    }
}
