.email-input-component {
    width: 100%;
    max-width: 400px;
    height: 100%;
}

.email-input-component .input-wrapper {
    position: relative;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    height: 50%;
}

.email-input-component .icon {
    width: 20px;
    height: 20px;
    color: #111827;
    margin-right: 12px;
}

.email-input-component .input-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #111827;
    background: transparent;
}

.email-input-component .input-label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    color: #111827;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.2s ease;
}

.email-input-component .placeholder-example {
    position: absolute;
    left: 48px;
    top: 70%;
    transform: translateY(-50%);
    color: #6b7280;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.email-input-component .input-wrapper:not(:focus-within) .input-field:placeholder-shown ~ .placeholder-example {
    opacity: 1;
}

#emailOtpChannel:hover {
    border-color: rgba(204, 51, 51, 1) ;
}
#mobileOtpChannel:hover {
    border-color: rgba(204, 51, 51, 1) ;
}
.disabled-state{
    /*color: var(--accent) !important;*/
    cursor: not-allowed !important;
}
.enabled-state{
    cursor: pointer !important;
    color: rgba(204, 51, 51, 1)
}

/* OTP input container - use stable layout to prevent shift */
.otp-input-container {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    min-height: 44px;
    position: relative;
}

.otp-input{
    /* Fixed dimensions - use exact pixels */
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;

    /* Use transparent border initially, change only color on focus */
    border: 2px solid #CCCCCC !important;
    border-radius: 3px;

    /* Text styling */
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    line-height: 36px;

    /* Stable box model */
    box-sizing: border-box !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;

    /* Remove ALL browser default styling */
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;

    /* No transitions */
    transition: none !important;

    /* Flex item control */
    flex: 0 0 40px !important;

    /* Background */
    background-color: #fff;
}

/* Remove margin from last OTP input */
.otp-input:last-of-type {
    margin-right: 0 !important;
}

.otp-input:focus {
    border: 2px solid #3b82f6 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.otp-input:hover:not(:focus) {
    border: 2px solid #999999 !important;
}

.otp-input-filled {
    border-color: #93c5fd !important;
    background-color: #f0f9ff;
}
