/* Custom Styles for Claude Code Baseline Documentation */
/* Compliance Scorecard Branding */

:root {
    --primary-color: #1c75bd;
    --primary-dark: #0b2e4a;
    --secondary-color: #38b54a;
    --success-color: #38b54a;
    --info-color: #1c75bd;
    --warning-color: #fec229;
    --danger-color: #c21515;
    --dark-color: #0b2e4a;
    --light-color: #e8f6ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1c75bd 0%, #0b2e4a 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.site-header .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.site-header .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.site-header .nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1c75bd 0%, #0b2e4a 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Card Styles */
.doc-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.doc-card .card-header {
    background: linear-gradient(135deg, #1c75bd 0%, #0b2e4a 100%);
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
}

.doc-card .card-body {
    padding: 1.5rem;
}

/* Icon Styles */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.icon-box.primary {
    background: rgba(28, 117, 189, 0.1);
    color: #1c75bd;
}

.icon-box.success {
    background: rgba(56, 181, 74, 0.1);
    color: #38b54a;
}

.icon-box.info {
    background: rgba(28, 117, 189, 0.1);
    color: #1c75bd;
}

.icon-box.warning {
    background: rgba(254, 194, 41, 0.1);
    color: #fec229;
}

/* Footer Styles */
.site-footer {
    background: #0b2e4a;
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    margin-top: 4rem;
}

.site-footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: white;
}

/* Table Styles */
.table-custom {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-custom thead {
    background: linear-gradient(135deg, #1c75bd 0%, #0b2e4a 100%);
    color: white;
}

.table-custom tbody tr:hover {
    background: rgba(28, 117, 189, 0.05);
}

/* Badge Styles */
.badge-custom {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Code Block Styles */
pre {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

code {
    color: #e83e8c;
    background: rgba(232, 62, 140, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

pre code {
    color: inherit;
    background: none;
    padding: 0;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #343a40;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1c75bd 0%, #0b2e4a 100%);
}

/* Breadcrumb Styles */
.breadcrumb-custom {
    background: rgba(28, 117, 189, 0.05);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
}

/* Navigation Pills */
.nav-pills-custom .nav-link {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.nav-pills-custom .nav-link.active {
    background: linear-gradient(135deg, #1c75bd 0%, #0b2e4a 100%);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c75bd 0%, #0b2e4a 100%);
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e9ecef;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .no-print {
        display: none !important;
    }

    .doc-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}
