/* CensorZero - Institutional Audit Tool Styles */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
}

/* Typography */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

/* Header */
.header-main {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.25rem;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Cards */
.check-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: #fff;
    transition: box-shadow 0.3s;
}

.check-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.check-card h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.check-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* List items */
.limitation-list {
    list-style: none;
    padding: 0;
}

.limitation-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.limitation-list li:last-child {
    border-bottom: none;
}

.limitation-list li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Forms */
.form-section {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    min-height: 300px;
    font-family: monospace;
    font-size: 0.95rem;
}

.form-check-label {
    font-weight: 500;
}

/* Alert boxes */
.alert-info {
    background-color: #e3f2fd;
    border-color: #90caf9;
    color: #1565c0;
}

/* Report sections */
.report-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.report-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.compliance-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Standards page */
.standard-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    background: #fff;
}

.standard-item h5 {
    margin-bottom: 0.5rem;
}

.standard-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.standard-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer-main {
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-main h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-main a {
    font-size: 0.9rem;
}

/* Utility classes */
.text-institutional {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.icon-check {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .form-section {
        padding: 2rem 1rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
}
