/**
 * Haneko CodeShield - 3D Cute Claymorphism Authentication CSS
 * Matches Design Screenshot 2 ("Welcome Back" 3D Clay Aesthetic)
 */

.clay-auth-body {
    background-color: #cbbee8;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(162, 140, 218, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #cbbee8 0%, #baabd9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 40px) 16px;
    position: relative;
    overflow-x: hidden;
    font-family: var(--font-clay);
}

/* 3D Clay Background Elements (Clouds & Plants) */
.clay-cloud {
    position: absolute;
    background: #ffffff;
    border-radius: 50px;
    box-shadow:
        0 14px 28px rgba(138, 115, 186, 0.2),
        inset 0 -4px 6px rgba(186, 171, 217, 0.4),
        inset 0 4px 6px rgba(255, 255, 255, 0.9);
    pointer-events: none;
    z-index: 0;
}

.clay-cloud-1 {
    width: 110px;
    height: 44px;
    top: 8%;
    left: 8%;
}

.clay-cloud-2 {
    width: 90px;
    height: 38px;
    top: 14%;
    right: 10%;
}

.clay-plant {
    position: absolute;
    bottom: 5%;
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clay-plant-left {
    left: clamp(10px, 6vw, 80px);
}

.clay-plant-right {
    right: clamp(10px, 6vw, 80px);
}

.clay-pot {
    width: 64px;
    height: 52px;
    background: #e2ba9b;
    border-radius: 8px 8px 24px 24px;
    box-shadow:
        0 12px 24px rgba(138, 115, 186, 0.3),
        inset 0 4px 6px rgba(255, 255, 255, 0.6),
        inset 0 -6px 8px rgba(175, 126, 92, 0.5);
    position: relative;
}

.clay-pot-pink {
    background: #f0a8b9;
    box-shadow:
        0 12px 24px rgba(138, 115, 186, 0.3),
        inset 0 4px 6px rgba(255, 255, 255, 0.6),
        inset 0 -6px 8px rgba(204, 108, 131, 0.5);
}

.clay-stem {
    width: 60px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}

.clay-leaf {
    width: 18px;
    height: 38px;
    background: #88be7d;
    border-radius: 50px 50px 10px 10px;
    box-shadow: inset 0 3px 4px rgba(255, 255, 255, 0.6), inset 0 -4px 6px rgba(85, 133, 76, 0.5);
}

.clay-flower {
    width: 44px;
    height: 44px;
    background: #f8b4c4;
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.8), 0 6px 12px rgba(138, 115, 186, 0.2);
}

.clay-flower::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #f8d353;
    border-radius: 50%;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.8);
}

/* Auth Outer Shell */
.clay-auth-shell {
    width: 100%;
    max-width: 430px;
    position: relative;
    z-index: 10;
    margin: clamp(170px, 22vw, 205px) auto 25px;
}

/* 3D Peeking Anime Mascot Header */
.clay-character-peeking {
    position: absolute;
    bottom: calc(100% - clamp(15px, 3.8vw, 18px));
    left: 50%;
    transform: translateX(-50%);
    width: clamp(150px, 38vw, 175px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 25;
    pointer-events: none;
}

.clay-peeking-mascot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(105, 78, 163, 0.25));
}

.clay-heart-float {
    font-size: 20px;
    margin-bottom: 2px;
    filter: drop-shadow(0 4px 8px rgba(220, 60, 100, 0.4));
    animation: clayHeartBeat 2s infinite ease-in-out;
}

@keyframes clayHeartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15) translateY(-3px);
    }
}

.clay-avatar-face {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fedac2;
    box-shadow:
        0 14px 28px rgba(138, 115, 186, 0.3),
        inset 0 4px 8px rgba(255, 255, 255, 0.8),
        inset 0 -6px 10px rgba(214, 153, 118, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #9471d4;
}

.clay-hair-bun {
    position: absolute;
    top: -14px;
    width: 44px;
    height: 38px;
    background: #5d3928;
    border-radius: 50%;
    box-shadow: inset 0 4px 6px rgba(255, 255, 255, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.clay-hair-front {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 34px;
    background: #5d3928;
    border-radius: 40px 40px 0 0;
}

.clay-eyes-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    z-index: 2;
}

.clay-eye-open {
    width: 9px;
    height: 12px;
    background: #231815;
    border-radius: 50%;
    position: relative;
}

.clay-eye-open::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
}

.clay-eye-wink {
    width: 12px;
    height: 6px;
    border-bottom: 3.5px solid #231815;
    border-radius: 0 0 10px 10px;
}

.clay-smile {
    width: 14px;
    height: 7px;
    border-bottom: 3px solid #d95d5d;
    border-radius: 0 0 12px 12px;
    margin-top: 3px;
    z-index: 2;
}

.clay-hoodie-shoulders {
    position: absolute;
    bottom: -10px;
    width: 104px;
    height: 28px;
    background: #9471d4;
    border-radius: 20px 20px 0 0;
    box-shadow: inset 0 4px 6px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

/* Main 3D Clay Card Container */
.clay-auth-card {
    background: #fdfaf6;
    border-radius: 40px;
    padding: 48px 30px 36px;
    box-shadow:
        0 28px 50px -10px rgba(118, 93, 171, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 4px 8px rgba(255, 255, 255, 0.95),
        inset 0 -6px 12px rgba(188, 172, 219, 0.3);
    border: 4px solid #ffffff;
    position: relative;
    z-index: 10;
}

.clay-title-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.clay-sparkle {
    color: #eab308;
    font-size: 14px;
    display: inline-block;
}

.clay-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #4b3879;
    letter-spacing: -0.5px;
    margin: 4px 0 2px;
}

.clay-subtitle {
    font-size: 13px;
    color: #8c7ba8;
    font-weight: 500;
}

/* Inset 3D Clay Inputs */
.clay-input-group {
    margin-bottom: 16px;
    position: relative;
}

.clay-pill-input-wrap {
    background: #f1ecf9;
    border-radius: 30px;
    padding: 4px 16px 4px 6px;
    display: flex;
    align-items: center;
    box-shadow:
        inset 2px 3px 6px rgba(144, 126, 184, 0.25),
        inset -2px -3px 6px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.25s ease;
}

.clay-pill-input-wrap:focus-within {
    box-shadow:
        inset 2px 3px 6px rgba(120, 85, 185, 0.35),
        inset -2px -3px 6px rgba(255, 255, 255, 1),
        0 0 0 3px rgba(148, 113, 212, 0.3);
}

.clay-input-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a788e8 0%, #8c67d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow:
        0 4px 10px rgba(120, 85, 185, 0.32),
        inset 0 2.5px 4px rgba(255, 255, 255, 0.65),
        inset 0 -2px 4px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
}

.clay-pill-input-wrap:focus-within .clay-input-badge {
    transform: scale(1.06);
    box-shadow:
        0 6px 14px rgba(120, 85, 185, 0.4),
        inset 0 2.5px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.18);
}

/* Ensure SVG icons inside clay-input-badge are crisp, sharp, centered, and scaled properly */
.clay-input-badge svg,
.clay-input-badge .clay-nav-svg {
    width: 19px;
    height: 19px;
    display: block;
    stroke: #ffffff;
    stroke-width: 2.2;
    fill: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
    transition: transform 0.2s ease;
    pointer-events: none;
}

/* Filled vector SVGs (e.g. Telegram paper plane) */
.clay-input-badge svg.clay-svg-fill,
.clay-input-badge .clay-nav-svg.clay-svg-fill {
    fill: #ffffff !important;
    stroke: none !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

/* Official Telegram Badge Variant - Iconic Telegram Blue Gradient */
.clay-input-badge.clay-badge-telegram {
    background: linear-gradient(135deg, #2bb5f6 0%, #1e96d1 100%) !important;
    box-shadow:
        0 4px 10px rgba(30, 150, 209, 0.4),
        inset 0 2.5px 4px rgba(255, 255, 255, 0.75),
        inset 0 -2px 4px rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.clay-input-badge.clay-badge-telegram svg,
.clay-input-badge.clay-badge-telegram .clay-nav-svg {
    width: 18px;
    height: 18px;
    transform: translateX(-0.5px) translateY(0.5px);
}

.clay-pill-input-wrap:focus-within .clay-input-badge.clay-badge-telegram {
    transform: scale(1.06);
    box-shadow:
        0 6px 14px rgba(30, 150, 209, 0.48),
        inset 0 2.5px 4px rgba(255, 255, 255, 0.85),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
}

.clay-input-field {
    width: 100%;
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    color: #3b2c5e;
    font-weight: 600;
    font-family: var(--font-clay);
}

.clay-input-field::placeholder {
    color: #a99bc4;
    font-weight: 500;
}

/* Password Visibility Toggle Eye Button */
.clay-password-toggle {
    background: transparent;
    border: none;
    outline: none;
    padding: 6px;
    margin-right: -4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9283a8;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}

.clay-password-toggle:hover {
    color: #6b21a8;
    background: rgba(168, 85, 247, 0.12);
    transform: scale(1.08);
}

.clay-password-toggle:active {
    transform: scale(0.95);
}

.clay-password-toggle .clay-eye-svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    pointer-events: none;
}

.clay-password-toggle .eye-closed {
    display: none;
}

.clay-password-toggle.is-visible .eye-open {
    display: none;
}

.clay-password-toggle.is-visible .eye-closed {
    display: block;
    color: #7b4ec9;
}

/* 3D Chunky Clay Button ("Login") */
.clay-btn-submit {
    width: 100%;
    min-height: 52px;
    background: #9471d4;
    border: none;
    border-radius: 30px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    font-family: var(--font-clay);
    box-shadow:
        0 10px 22px rgba(130, 92, 196, 0.45),
        inset 0 3px 4px rgba(255, 255, 255, 0.6),
        inset 0 -5px 8px rgba(85, 52, 143, 0.4);
    transition: all 0.2s ease;
}

.clay-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(130, 92, 196, 0.55),
        inset 0 3px 4px rgba(255, 255, 255, 0.7),
        inset 0 -5px 8px rgba(85, 52, 143, 0.4);
}

.clay-btn-submit:active {
    transform: translateY(1px);
    box-shadow:
        0 4px 10px rgba(130, 92, 196, 0.4),
        inset 0 2px 3px rgba(0, 0, 0, 0.2);
}

/* Social Login Row */
.clay-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0 16px;
    color: #9f8fb9;
    font-size: 12px;
    font-weight: 600;
}

.clay-divider::before,
.clay-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid #e2d7f3;
}

.clay-divider span {
    padding: 0 10px;
}

.clay-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.clay-social-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 16px rgba(144, 126, 184, 0.22),
        inset 0 3px 4px rgba(255, 255, 255, 0.95),
        inset 0 -3px 4px rgba(188, 172, 219, 0.25);
    border: 2px solid #ffffff;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.clay-social-circle:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow:
        0 12px 20px rgba(144, 126, 184, 0.32),
        inset 0 3px 4px rgba(255, 255, 255, 0.95),
        inset 0 -3px 4px rgba(188, 172, 219, 0.25);
}

.clay-social-circle:active {
    transform: translateY(1px) scale(0.96);
}

.clay-social-svg {
    width: 21px;
    height: 21px;
    display: block;
    pointer-events: none;
}

.clay-social-notice-wrap {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.clay-social-notice {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 14px;
    background: #f5f0ff;
    border: 1.5px solid #d8b4fe;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: #6b21a8;
    box-shadow:
        0 4px 12px rgba(147, 51, 234, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    animation: clayNoticeFadeIn 0.2s ease-out;
}

.clay-social-notice.show {
    display: inline-flex;
}

.clay-social-notice-icon {
    font-size: 13px;
}

@keyframes clayNoticeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.clay-switch-text {
    text-align: center;
    font-size: 13px;
    color: #8c7ba8;
    font-weight: 500;
}

.clay-switch-link {
    color: #7b4ec9;
    font-weight: 700;
    text-decoration: underline;
}

.clay-alert-box {
    background: #fee2e2;
    border: 2px solid #fca5a5;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 12.5px;
    margin-bottom: 14px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 520px) {
    .clay-plant {
        display: none;
    }

    .clay-auth-card {
        padding: 44px clamp(14px, 4vw, 20px) 28px;
        border-radius: 28px;
    }

    .clay-auth-body {
        padding: 16px 10px;
    }
}

@media (max-width: 380px) {
    .clay-social-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .clay-social-row {
        gap: 10px;
    }
}

/* Zero Inline CSS Utility Classes for Admin Auth */
.clay-avatar-face.admin {
    border-color: #6366f1 !important;
}

.clay-hair-bun.admin,
.clay-hair-front.admin {
    background: #312e81 !important;
}

.clay-hoodie-shoulders.admin {
    background: #6366f1 !important;
}

.clay-input-badge.admin {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%) !important;
    box-shadow:
        0 4px 10px rgba(99, 102, 241, 0.38),
        inset 0 2.5px 4px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.18) !important;
}

.clay-btn-submit.admin {
    background: #6366f1 !important;
}

.clay-auth-footer-note {
    text-align: center;
    margin-top: 24px;
    font-size: 11.5px;
    color: #8c7ba8;
}

.clay-auth-back-link-wrap {
    text-align: center;
    margin-top: 18px;
}

.clay-auth-back-link {
    color: #4b3879;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.clay-leaf-1 {
    transform: rotate(-15deg);
}

.clay-leaf-2 {
    height: 48px;
    transform: rotate(10deg);
}

.clay-leaf-3 {
    height: 32px;
    transform: rotate(25deg);
}

.clay-forgot-wrap {
    text-align: right;
    margin-bottom: 12px;
}

.clay-forgot-link {
    font-size: 11.5px;
    color: #8c7ba8;
    font-weight: 600;
    text-decoration: none;
}

.clay-forgot-link-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 11.5px;
    color: #8c7ba8;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.clay-forgot-link-btn:hover {
    color: #6b21a8;
}

.clay-social-g {
    color: #ea4335;
    font-weight: 900;
}

.clay-social-tg {
    color: #0088cc;
    font-size: 16px;
}

.clay-social-fb {
    color: #1877f2;
    font-weight: 900;
}

/* 3D Clay Modal Dialog (Forgot Password & Live Assistance) */
.clay-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 31, 74, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.clay-modal-overlay.active {
    display: flex;
    animation: clayOverlayFade 0.2s ease-out;
}

.clay-modal-card {
    background: #fdfaf6;
    max-width: 410px;
    width: 100%;
    border-radius: 32px;
    padding: 34px 26px 26px;
    text-align: center;
    position: relative;
    border: 4px solid #ffffff;
    box-shadow:
        0 24px 50px -10px rgba(78, 54, 128, 0.45),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 3px 6px rgba(255, 255, 255, 0.95),
        inset 0 -4px 8px rgba(188, 172, 219, 0.25);
    animation: clayModalPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.clay-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3ecfb;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: #8c7ba8;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    box-shadow: 0 4px 8px rgba(144, 126, 184, 0.2);
}

.clay-modal-close-btn:hover {
    color: #4b3879;
    background: #e7dbf7;
    transform: scale(1.08);
}

.clay-modal-icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #9d7ae2;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow:
        0 8px 16px rgba(120, 85, 185, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.clay-modal-badge {
    display: inline-block;
    padding: 4px 14px;
    background: #f3e8ff;
    border: 1.5px solid #d8b4fe;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #6b21a8;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.clay-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #2d1f47;
    margin: 0 0 10px;
    font-family: var(--font-clay);
}

.clay-modal-desc {
    font-size: 13.5px;
    color: #6e5e8c;
    line-height: 1.6;
    margin: 0 0 16px;
    font-weight: 500;
}

.clay-modal-notice-box {
    background: #f1ecf9;
    border: 1.5px solid #e2d7f3;
    border-radius: 18px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #4b3879;
    line-height: 1.55;
    margin-bottom: 22px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(144, 126, 184, 0.1);
}

.clay-modal-ok-btn {
    margin-top: 0;
    min-height: 48px;
    font-size: 15px;
}

@keyframes clayOverlayFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes clayModalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================================================
   Real Gmail & Email Security Verification (OTP) Suite
   ========================================================================== */
.clay-input-status-badge {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 4px;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    animation: clayStatusPop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

@keyframes clayStatusPop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.clay-input-status-badge.is-valid {
    display: inline-flex;
    background: #dcfce7;
    border: 2px solid #86efac;
    color: #16a34a;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.clay-input-status-badge.is-invalid {
    display: inline-flex;
    background: #fee2e2;
    border: 2px solid #fca5a5;
    color: #dc2626;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.clay-input-status-badge .clay-status-svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2.8;
    display: block;
}

/* 6-Digit Email Verification (OTP) Card */
.clay-otp-banner {
    background: #f5f3ff;
    border: 2px dashed #c084fc;
    border-radius: 20px;
    padding: 14px 16px;
    text-align: center;
    margin-bottom: 20px;
}

.clay-otp-banner-email {
    font-size: 14px;
    font-weight: 800;
    color: #6b21a8;
    display: block;
    margin-top: 4px;
    word-break: break-all;
}

.clay-otp-input-wrap {
    background: #f1ecf9;
    border-radius: 24px;
    padding: 6px 16px;
    box-shadow:
        inset 2px 3px 6px rgba(144, 126, 184, 0.25),
        inset -2px -3px 6px rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.clay-otp-input-wrap:focus-within {
    border-color: #8b5cf6;
    box-shadow:
        inset 2px 3px 6px rgba(120, 85, 185, 0.35),
        0 0 0 3px rgba(148, 113, 212, 0.3);
}

.clay-otp-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 12px;
    text-align: center;
    color: #4b3879;
    box-sizing: border-box;
}

.clay-otp-input::placeholder {
    font-size: 16px;
    letter-spacing: 6px;
    color: #bfaedc;
    font-weight: 700;
}

.clay-otp-sub-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1.5px dashed rgba(188, 172, 219, 0.4);
}

.clay-otp-action-btn {
    background: none;
    border: none;
    color: #7c3aed;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    padding: 4px 6px;
    border-radius: 8px;
    transition: color 0.15s ease;
}

.clay-otp-action-btn:hover {
    color: #581c87;
}

.clay-alert-box-info {
    background: #ede9fe;
    border: 1.5px solid #c4b5fd;
    color: #5b21b6;
    border-radius: 18px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    line-height: 1.45;
}

.clay-alert-box-info svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
