/**
 * Verification Page Styles - Dribbble Inspired
 * 
 * @package VibeCodeCareers
 * @since 1.0.0
 */

/* Page Layout */
.verify-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem 2rem 1rem;
    background: var(--color-surface);
}

.verify-container {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* Icon */
.verify-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-surface);
}

/* Typography */
.verify-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-family-sans);
}

.verify-message {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.verify-email {
    font-family: var(--font-family-mono);
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Code Input */
.code-inputs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 2.5rem 0 1.5rem;
}

.code-input {
    width: 56px;
    height: 72px;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface-hover);
    color: var(--color-text-primary);
    font-family: var(--font-family-mono);
    transition: all 0.2s ease;
}

.code-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-surface);
    transform: translateY(-2px);
}

.code-input.filled {
    border-color: var(--color-accent);
}

.code-input.error {
    border-color: #ff4747;
    animation: shake 0.3s ease;
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Messages */
.verify-error {
    color: #ff4747;
    font-size: 0.875rem;
    margin-top: 1rem;
    min-height: 20px;
}

.verify-success {
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Resend Section */
.resend-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.resend-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.resend-btn {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.resend-btn:hover:not(:disabled) {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 0.5rem;
}

.verify-loading {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.verify-loading.active {
    display: flex;
}

/* Responsive */
@media (max-width: 640px) {
    .code-input {
        width: 48px;
        height: 64px;
        font-size: 1.75rem;
    }
    
    .code-inputs {
        gap: 0.5rem;
    }
}

