/* Website Tracker Audit Tool Styles */

.wta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.wta-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.wta-header h2 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
    font-weight: 700;
}

.wta-description {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

/* Form Styles */
.wta-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 1px solid #e1e5e9;
}

.wta-form-group {
    margin-bottom: 25px;
}

.wta-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95em;
}

.wta-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.wta-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wta-help-text {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 0.85em;
}

/* Checkbox Styles */
.wta-consent {
    margin: 30px 0;
}

.wta-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95em;
    line-height: 1.5;
}

.wta-checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.wta-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wta-checkbox-label input[type="checkbox"]:checked + .wta-checkmark {
    background-color: #667eea;
    border-color: #667eea;
}

.wta-checkbox-label input[type="checkbox"]:checked + .wta-checkmark:after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Submit Button */
.wta-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wta-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.wta-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.wta-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Results Section */
.wta-results {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 1px solid #e1e5e9;
}

.wta-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.wta-results-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5em;
}

.wta-score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.wta-score-number {
    font-size: 1.8em;
    line-height: 1;
}

.wta-score-label {
    font-size: 0.8em;
    opacity: 0.9;
}

/* Result Sections */
.wta-result-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.wta-result-section h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.2em;
}

/* Tags Summary */
.wta-tags-summary, .wta-privacy-items {
    display: grid;
    gap: 12px;
}

.wta-tag-item, .wta-privacy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
}

.wta-tag-name, .wta-privacy-label {
    font-weight: 500;
}

.wta-tag-status, .wta-privacy-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 500;
}

.wta-tag-status[data-status="good"], .wta-privacy-status[data-status="good"] {
    background: #d4edda;
    color: #155724;
}

.wta-tag-status[data-status="warning"], .wta-privacy-status[data-status="warning"] {
    background: #fff3cd;
    color: #856404;
}

.wta-tag-status[data-status="error"], .wta-privacy-status[data-status="error"] {
    background: #f8d7da;
    color: #721c24;
}

/* Cookie Stats */
.wta-cookie-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.wta-cookie-stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.wta-cookie-number {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.wta-cookie-label {
    display: block;
    font-size: 0.9em;
    color: #6c757d;
}

/* Issues and Recommendations */
.wta-issues, .wta-recommendations {
    margin-top: 15px;
}

.wta-issue {
    padding: 10px 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.wta-recommendations {
    list-style: none;
    padding: 0;
}

.wta-recommendations li {
    padding: 10px 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.9em;
    position: relative;
    padding-left: 35px;
}

.wta-recommendations li:before {
    content: "💡";
    position: absolute;
    left: 10px;
    top: 10px;
}

/* CTA Section */
.wta-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    margin-top: 30px;
}

.wta-cta h4 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.wta-cta p {
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.wta-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wta-cta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Features Grid */
.wta-features {
    margin: 50px 0;
}

.wta-features h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8em;
}

.wta-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.wta-feature {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.wta-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.wta-feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.wta-feature h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.2em;
}

.wta-feature p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Trust Indicators */
.wta-trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.wta-trust-item {
    font-size: 0.9em;
    color: #495057;
}

.wta-trust-item strong {
    display: block;
    font-size: 1.3em;
    color: #667eea;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Email Notice */
.wta-email-notice {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
    text-align: center;
}

.wta-email-notice p {
    margin: 0;
    color: #1565c0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wta-container {
        padding: 15px;
    }
    
    .wta-form {
        padding: 25px 20px;
    }
    
    .wta-results {
        padding: 25px 20px;
    }
    
    .wta-results-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .wta-header h2 {
        font-size: 1.8em;
    }
    
    .wta-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wta-trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .wta-cookie-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wta-trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .wta-cookie-stats {
        grid-template-columns: 1fr;
    }
}
