/**
 * VibeOTP Login - Estilos Base
 * Versão 2.6.0
 */

/* Container */
.vibe-otp-container {
    max-width: 100%;
}

/* Header */
.vibe-otp-header h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.vibe-otp-header p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Form */
.vibe-otp-form {
    margin: 0;
}

/* Field */
.vibe-otp-field {
    margin-bottom: 20px;
}

.vibe-otp-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.vibe-otp-field input[type="email"],
.vibe-otp-field input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.vibe-otp-field input:focus {
    border-color: #83b735;
    outline: none;
}

/* Button */
.vibe-otp-button {
    width: 100%;
    padding: 14px 20px;
    background: #83b735;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.vibe-otp-button:hover {
    background: #729e2e;
}

.vibe-otp-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Message */
.vibe-otp-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    text-align: center;
}

.vibe-otp-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vibe-otp-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Email Display */
.vibe-otp-email-display {
    background: #f5f5f5;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.vibe-otp-email-value {
    font-weight: 600;
    color: #333;
    word-break: break-all;
}

.vibe-otp-change-email {
    background: none !important;
    border: none !important;
    color: #83b735 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    text-decoration: underline !important;
    padding: 0 !important;
}

/* Code Inputs */
.vibe-otp-code-inputs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    justify-content: center !important;
    margin: 20px 0 !important;
}

.vibe-otp-code-digit {
    width: 42px !important;
    height: 50px !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    padding: 0 !important;
    background: #fff !important;
    flex: 0 0 42px !important;
}

.vibe-otp-code-digit:focus {
    border-color: #83b735 !important;
    outline: none !important;
}

/* Resend */
.vibe-otp-resend {
    text-align: center;
    margin-top: 20px;
}

.vibe-otp-resend-button {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

.vibe-otp-resend-button:not(:disabled):hover {
    color: #83b735;
}

.vibe-otp-resend-button:disabled {
    cursor: not-allowed;
    text-decoration: none;
}

/* Register Link */
.vibe-otp-register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.vibe-otp-register-link span {
    color: #83b735;
    font-weight: 600;
}

/* Utilities */
.vibe-otp-hidden {
    display: none !important;
}
