/* Creator Application Modal Styles */

.ca-modal {
    max-width: 520px;
    width: 95%;
}

.ca-step {
    animation: caFadeIn 0.3s ease;
}

@keyframes caFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ca-modal .form-group {
    margin-bottom: 1.25rem;
}

.ca-modal .form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary, #2d3748);
}

.ca-modal .form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    background: var(--bg-primary, #fff);
    color: var(--text-primary, #2d3748);
    box-sizing: border-box;
}

.ca-modal .form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ca-modal textarea.form-input {
    resize: vertical;
    min-height: 60px;
}

.ca-modal .error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: #fff5f5;
    border-radius: 6px;
    border-left: 3px solid #e53e3e;
}

.ca-modal .submit-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.ca-modal .submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.ca-modal .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ca-modal .register-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.ca-modal .register-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.ca-modal .resend-link {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: underline;
}

.ca-modal .resend-link:hover {
    color: #2563eb;
}

/* Creator apply button and nav buttons now styled in login-core.css */

/* Dark mode */
.dark .ca-modal .form-input {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.dark .ca-modal .error-message {
    background: #3b000033;
    color: #f87171;
    border-left-color: #f87171;
}

.dark .ca-modal .form-label {
    color: var(--text-primary);
}
