.ecomdrive-otp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.ecomdrive-otp-content {
    position: absolute;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ecomdrive-otp-content h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.ecomdrive-otp-content p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

#otp-input {
    width: 200px;
    padding: 12px;
    margin: 0 auto 15px;
    display: block;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 4px;
    transition: all 0.3s ease;
    outline: none;
}

#otp-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

#otp-input.error {
    border-color: #dc2626;
}

.otp-error-message {
    color: #dc2626;
    font-size: 14px;
    margin: 8px 0;
    display: none;
    font-weight: 500;
}

#verify-otp-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: auto;
    min-width: 150px;
    margin: 10px auto;
}

#verify-otp-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

#verify-otp-btn:active {
    transform: translateY(0);
}

.otp-contact-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.otp-contact-info p {
    margin: 8px 0;
    font-size: 14px;
}

.otp-contact-info a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.otp-contact-info a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.ecomdrive-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #333;
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {
    .ecomdrive-otp-content {
        position: absolute;
        width: calc(100% - 40px);
        padding: 20px 15px;
        margin: 0;
        max-height: 90vh;
        overflow-y: auto;
        left: 20px;
        right: 20px;
        transform: translateY(-50%);
    }

    .ecomdrive-otp-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .ecomdrive-otp-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    #otp-input {
        width: 180px;
        padding: 10px;
        font-size: 16px;
        letter-spacing: 3px;
    }

    #verify-otp-btn {
        padding: 10px 20px;
        font-size: 15px;
        min-width: 130px;
    }

    .otp-contact-info {
        margin-top: 20px;
        padding-top: 15px;
    }

    .otp-contact-info p {
        font-size: 13px;
        margin: 6px 0;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .ecomdrive-otp-content {
        width: calc(100% - 30px);
        padding: 15px 12px;
        left: 15px;
        right: 15px;
    }

    #otp-input {
        width: 160px;
        font-size: 15px;
    }

    #verify-otp-btn {
        min-width: 120px;
        padding: 8px 16px;
    }
}
