/* WP Site Audit Tool Styles */

.wp-audit-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

/* Form Container */
.wp-audit-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #eaeaea;
}

.wp-audit-form-container h2 {
    margin-bottom: 10px;
    color: #1a202c;
    font-weight: 700;
}

.wp-audit-form-container p {
    color: #718096;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a5568;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.btn-audit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.1s;
    margin-top: 10px;
}

.btn-audit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.btn-audit:active {
    transform: translateY(1px);
}

/* Loader */
.audit-loader {
    margin-top: 20px;
    color: #667eea;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Results Section */
#wp-audit-results {
    margin-top: 40px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.audit-header {
    background: #fff;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.audit-score-main {
    text-align: center;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f0fff4;
    color: #38a169;
    border: 4px solid #38a169;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 10px;
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.audit-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.audit-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #718096;
}

.card-grade {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}

.audit-details {
    background: #fff;
    padding: 30px;
    border-radius: 0 0 12px 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
}

.detail-value {
    color: #2d3748;
}

.status-pass { color: #38a169; font-weight: bold; }
.status-fail { color: #e53e3e; font-weight: bold; }
