/* SEO Checker & Fixer Tool - Custom Styles */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
}

/* Header styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-brand i {
    margin-right: 0.5rem;
    color: #17a2b8;
}

/* Form styles */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.card-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.form-control:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

.btn-primary {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #138496;
    border-color: #117a8b;
}

/* Report styles */
.progress {
    height: 30px;
    border-radius: 15px;
    margin: 1rem 0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    line-height: 30px;
    font-weight: bold;
    font-size: 1rem;
}

.nav-tabs .nav-link {
    font-weight: 600;
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: #17a2b8;
    border-color: #dee2e6 #dee2e6 #fff;
}

.tab-content {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Category cards */
.category-card {
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-header {
    padding: 0.75rem 1.25rem;
    border-bottom: none;
}

.category-body {
    padding: 1.25rem;
}

/* Status badges */
.badge-passed {
    background-color: #28a745;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-failed {
    background-color: #dc3545;
    color: white;
}

/* Recommendation boxes */
.recommendation-box {
    background-color: #e9f7fb;
    border-left: 4px solid #17a2b8;
    padding: 1rem;
    margin-top: 1rem;
}

.recommendation-box h6 {
    margin-bottom: 0.5rem;
    color: #17a2b8;
}

/* Footer styles */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
    background-color: #343a40;
    color: #f8f9fa;
}

footer a {
    color: #17a2b8;
}

footer a:hover {
    color: #97e6f5;
    text-decoration: none;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .category-card {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
    }
    
    h1 {
        font-size: 18pt;
    }
    
    h2 {
        font-size: 16pt;
    }
    
    h3 {
        font-size: 14pt;
    }
}

/* Export buttons styling */
.export-buttons {
    display: flex;
    gap: 10px;
}

.export-buttons .btn {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.export-buttons .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.export-buttons .btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

.export-buttons .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.export-buttons .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.export-buttons i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .progress {
        height: 25px;
    }
    
    .progress-bar {
        font-size: 0.9rem;
        line-height: 25px;
    }
    
    .export-buttons {
        flex-direction: column;
        gap: 5px;
        margin-top: 10px;
    }
    
    .card-header.bg-primary {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .card-header.bg-primary h2 {
        margin-bottom: 10px;
    }
}
