/* APEIRON Email Verification Styles */
.aev-container {
    margin: 15px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.aev-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.aev-input-group input[type="email"],
.aev-input-group input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.aev-input-group input:focus {
    outline: none;
    border-color: #FFB74D;
    box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.15);
}

.aev-input-group input:disabled {
    background: #f1f3f5;
    cursor: not-allowed;
}

.aev-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.aev-btn-send {
    background: linear-gradient(135deg, #FFB74D, #FFD700);
    color: #0B2B40;
}

.aev-btn-send:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 183, 77, 0.4);
}

.aev-btn-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.aev-btn-verify {
    background: #2C7A7B;
    color: white;
}

.aev-btn-verify:hover:not(:disabled) {
    background: #1a5a5b;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44, 122, 123, 0.3);
}

.aev-btn-verify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.aev-status {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.aev-status.show {
    display: block;
}

.aev-status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.aev-status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.aev-status-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.aev-status-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.aev-verified-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.aev-code-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.aev-code-input-wrapper input {
    flex: 1;
    min-width: 150px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    background: #fff;
    transition: border-color 0.3s;
}

.aev-code-input-wrapper input:focus {
    outline: none;
    border-color: #FFB74D;
    box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.15);
}

.aev-code-input-wrapper input:disabled {
    background: #f1f3f5;
    cursor: not-allowed;
}

.aev-timer {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
}

.aev-timer span {
    font-weight: 700;
    color: #dc3545;
}

.aev-divider {
    border: none;
    border-top: 1px dashed #dee2e6;
    margin: 16px 0;
}

@media (max-width: 576px) {
    .aev-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    .aev-code-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .aev-btn {
        width: 100%;
        text-align: center;
    }
}