/* UXFix AI Audit Styles */
.uxfix-audit-container {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    margin: 2rem 0;
}

.uxfix-audit-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.uxfix-audit-header p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.uxfix-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.uxfix-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}

/* Modal Styles */
.uxfix-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 1rem;
}

.uxfix-modal-overlay.active {
    display: flex;
}

.uxfix-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.uxfix-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.uxfix-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.uxfix-close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.uxfix-close-button:hover {
    background: #f3f4f6;
    color: #374151;
}

.uxfix-modal-body {
    padding: 1rem 2rem 2rem;
}

/* Form Styles */
#uxfix-audit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.uxfix-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.uxfix-form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.uxfix-form-group input,
.uxfix-form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.uxfix-form-group input:focus,
.uxfix-form-group select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.uxfix-submit-button {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.uxfix-submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.uxfix-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading Spinner */
.uxfix-loading-spinner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.uxfix-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: uxfix-spin 1s linear infinite;
}

@keyframes uxfix-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .uxfix-audit-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .uxfix-audit-header h2 {
        font-size: 1.5rem;
    }
    
    .uxfix-modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .uxfix-modal-header,
    .uxfix-modal-body {
        padding: 1.5rem;
    }
}