/* OTP Modal Styles */
.gsp-otp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.gsp-otp-modal-box {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.gsp-otp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.gsp-otp-close:hover {
    color: #333;
}

.gsp-otp-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.gsp-otp-desc {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.gsp-otp-input-group {
    margin-bottom: 20px;
}

.gsp-otp-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.gsp-otp-input-group input:focus {
    border-color: #37B34A;
}

.gsp-otp-btn {
    width: 100%;
    background: #37B34A;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.gsp-otp-btn:hover {
    background: #2E9E40;
}

.gsp-otp-error {
    color: #e53e3e;
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
    display: none;
}

.gsp-otp-resend-wrap {
    text-align: center;
    margin-top: 15px;
}

.gsp-otp-text-btn {
    background: none;
    border: none;
    color: #37B34A;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.gsp-otp-text-btn:disabled {
    color: #999;
    cursor: not-allowed;
}

/* Loader */
.gsp-otp-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.gsp-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #37B34A;
    border-radius: 50%;
    animation: gsp-spin 1s linear infinite;
}

@keyframes gsp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .gsp-otp-modal-box {
        max-width: 90%;
        padding: 25px 20px;
    }
}
