:root {
    --ih-primary: #1a73e8;
    --ih-primary-hover: #1765cc;
    --ih-border: #dadce0;
    --ih-bg: #f8f9fa;
    --ih-text: #202124;
    --ih-muted: #5f6368;
}

body {
    font-family: "Google Sans", "Noto Sans SC", "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, #f7f9fc 0, var(--ih-bg) 100%);
}

#kc-header-wrapper {
    color: var(--ih-text);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0;
}

#kc-content-wrapper {
    margin-top: 16px;
}

.ih-login-shell {
    background: #fff;
    border: 1px solid var(--ih-border);
    border-radius: 28px;
    padding: 36px 34px 28px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
}

.ih-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.ih-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d2e3fc;
    background: #e8f0fe;
    color: #174ea6;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ih-brand h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.25;
    color: var(--ih-text);
    font-weight: 500;
}

.ih-brand p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--ih-muted);
}

.ih-field {
    margin-bottom: 14px;
}

.ih-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--ih-muted);
}

.ih-input {
    width: 100%;
    height: 50px;
    border: 1px solid var(--ih-border);
    border-radius: 8px;
    padding: 0 14px;
    font-size: 16px;
    color: var(--ih-text);
    background: #fff;
}

.ih-input:focus {
    outline: none;
    border-color: var(--ih-primary);
    box-shadow: 0 0 0 1px var(--ih-primary);
}

.ih-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 16px;
    color: var(--ih-muted);
    font-size: 14px;
}

.ih-submit {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 22px;
    background: var(--ih-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.ih-submit:hover {
    background: var(--ih-primary-hover);
}

.ih-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.ih-extra-links {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.ih-extra-links a {
    color: var(--ih-primary);
    text-decoration: none;
}

.ih-extra-links a:hover {
    text-decoration: underline;
}

.ih-social {
    margin-top: 18px;
    border-top: 1px solid #eceff1;
    padding-top: 14px;
}

.ih-social-title {
    font-size: 12px;
    color: var(--ih-muted);
    margin-bottom: 10px;
}

.ih-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ih-social-btn {
    border: 1px solid var(--ih-border);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 13px;
    color: #174ea6;
    text-decoration: none;
    background: #fff;
}

.ih-social-btn:hover {
    border-color: #a8c7fa;
    background: #f6fafe;
}
