/*
 * Login OTP V2 Page-Specific Styles
 * Common styles are in common-v2.css
 * This file contains ONLY OTP-page-specific overrides
 */

/* ============================================
   OTP Header - unique to OTP page
   ============================================ */
/* .kc-header-v2 {
    margin-bottom: var(--eds-space-150);
} */

.kc-header-v2 h2 {
    font-size: var(--eds-size-150); /* 24px */
    font-weight: var(--eds-font-weight-semibold);
    color: var(--v2-color-text-primary);
    margin: 0 0 var(--eds-space-075) 0;
    transition: color var(--v2-transition-speed) ease;
}

.kc-description-v2 {
    font-size: var(--eds-size-087); /* ~14px */
    font-weight: var(--v2-font-weight-normal);
    color: var(--v2-color-text-secondary);
    margin: 0;
    line-height: 1.5;
    transition: color var(--v2-transition-speed) ease;
}

/* ============================================
   OTP Credentials Selection - unique to OTP
   ============================================ */
.kc-otp-credentials-v2 {
    display: flex;
    flex-direction: column;
    gap: var(--eds-space-075);
    margin-bottom: var(--eds-space-100);
}

.kc-otp-credential-item-v2 {
    position: relative;
}

.kc-otp-radio-v2 {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kc-otp-credential-label-v2 {
    display: flex;
    align-items: center;
    gap: var(--eds-space-075);
    padding: var(--eds-space-100);
    border: 1px solid var(--v2-color-border-default);
    border-radius: var(--v2-border-radius-input);
    background: var(--v2-bg-input);
    cursor: pointer;
    transition: all 0.2s ease;
}

.kc-otp-credential-label-v2:hover {
    background: var(--v2-bg-input-hover);
    border-color: var(--v2-color-border-hover);
}

.kc-otp-radio-v2:checked + .kc-otp-credential-label-v2 {
    background: var(--v2-bg-input-focus);
    border-color: var(--v2-color-border-focus);
    outline: 2px solid var(--v2-color-border-focus);
    outline-offset: -1px;
}

.kc-otp-credential-icon-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v2-color-text-secondary);
}

.kc-otp-credential-title-v2 {
    font-size: var(--v2-font-size-input);
    font-weight: var(--v2-font-weight-normal);
    color: var(--v2-color-text-primary);
    transition: color var(--v2-transition-speed) ease;
}

/* ============================================
   OTP Credentials Focus state
   ============================================ */
.kc-otp-credential-label-v2:focus-visible {
    outline: 2px solid var(--v2-color-border-focus);
    outline-offset: 2px;
}
