/* Email Verification Page Styles */

.vrc-verification-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.vrc-verification-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a202c;
}

/* Verification Status Messages */
.vrc-verification-status {
    margin: 30px 0;
    min-height: 60px;
}

.vrc-verification-status .verifying {
    font-size: 16px;
    color: #4a5568;
    padding: 20px;
}

.vrc-verification-status .dashicons.spin {
    animation: vrc-spin 1s linear infinite;
}

.vrc-verification-status .vrc-message {
    padding: 20px;
    border-radius: 8px;
    margin: 0;
}

.vrc-verification-status .vrc-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.vrc-verification-status .vrc-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Resend Section */
.vrc-resend-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.vrc-resend-section p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #4a5568;
}

.vrc-resend-form {
    max-width: 400px;
    margin: 0 auto;
}

.vrc-resend-form .vrc-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.vrc-resend-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.vrc-resend-form .vrc-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.vrc-resend-form .vrc-form-control:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.vrc-resend-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

/* Resend Message */
.vrc-resend-message {
    margin-top: 20px;
}

.vrc-resend-message .vrc-message {
    padding: 15px;
    border-radius: 6px;
    margin: 0;
    animation: vrc-fade-in 0.3s ease;
}

.vrc-resend-message .vrc-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vrc-resend-message .vrc-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Already Verified Message */
.vrc-verification-container .vrc-auth-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.vrc-verification-container .vrc-auth-actions .vrc-btn {
    min-width: 150px;
}

/* Button Loading State */
.vrc-btn .vrc-btn-loading .dashicons {
    animation: vrc-spin 1s linear infinite;
    font-size: 16px;
    vertical-align: middle;
}

/* Animations */
@keyframes vrc-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes vrc-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .vrc-verification-container {
        padding: 30px 15px;
    }

    .vrc-verification-container h2 {
        font-size: 24px;
    }

    .vrc-resend-form {
        max-width: 100%;
    }

    .vrc-auth-actions {
        flex-direction: column;
    }

    .vrc-auth-actions .vrc-btn {
        width: 100%;
    }
}
