/* Interactive Guide Styles */

/* Guide Header */
.guide-header {
    background: linear-gradient(135deg, #0a192f 0%, #0d47a1 100%);
    color: white;
    padding: 120px 0 60px;
    margin-bottom: 30px;
}

.guide-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.guide-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.guide-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Guide Content */
.guide-content {
    padding: 0 0 60px;
}

/* Progress Sidebar */
.guide-progress {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 90px;
}

.progress-header {
    margin-bottom: 20px;
}

.progress-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0a192f;
}

.progress-stats {
    font-size: 0.9rem;
    color: #6c757d;
}

.progress-sections {
    margin-bottom: 30px;
}

.progress-section {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.progress-section:hover {
    background-color: #f1f3f5;
}

.progress-section.active {
    background-color: rgba(13, 110, 253, 0.1);
}

.progress-section.completed {
    background-color: rgba(25, 135, 84, 0.1);
}

.section-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #6c757d;
    margin-right: 15px;
    flex-shrink: 0;
}

.progress-section.active .section-number {
    background-color: #0d6efd;
    color: white;
}

.progress-section.completed .section-number {
    background-color: #198754;
    color: white;
}

.section-content {
    flex: 1;
}

.section-title {
    font-weight: 500;
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 2px;
}

.section-status {
    font-size: 0.8rem;
    color: #6c757d;
}

.section-status.active {
    color: #0d6efd;
}

.section-status.completed {
    color: #198754;
}

.progress-section.completed .section-status {
    color: #198754;
}

.guide-help {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.guide-help h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0a192f;
}

.guide-help p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #495057;
}

/* Checklist Container */
.checklist-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Checklist Sections */
.checklist-section {
    display: none;
    padding: 30px;
}

.checklist-section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0a192f;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Questions */
.question-group {
    margin-bottom: 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
}

.question {
    margin-bottom: 20px;
}

.question h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0a192f;
}

.form-check {
    margin-bottom: 10px;
}

.form-check-label {
    color: #495057;
}

/* Info Tooltips */
.info-tooltip {
    position: relative;
    display: inline-block;
    color: #0d6efd;
    cursor: pointer;
}

.info-tooltip i {
    font-size: 0.9rem;
}

.tooltip-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #0a192f;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    width: 250px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}

.tooltip-content::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #0a192f transparent;
}

.info-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

/* Section Navigation */
.section-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Results Section */
.results-summary {
    text-align: center;
    margin-bottom: 40px;
}

.compliance-score {
    margin-bottom: 25px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 10px solid #f0f0f0;
}

.score-circle.high-score::before {
    border-color: #198754;
}

.score-circle.medium-score::before {
    border-color: #fd7e14;
}

.score-circle.low-score::before {
    border-color: #dc3545;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

.gap-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #6c757d;
}

.gap-card.high {
    border-left-color: #dc3545;
}

.gap-card.medium {
    border-left-color: #fd7e14;
}

.gap-card.low {
    border-left-color: #198754;
}

.gap-severity {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.gap-severity.high {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.gap-severity.medium {
    background-color: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

.gap-severity.low {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.gap-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0a192f;
}

.gap-recommendation {
    margin-top: 15px;
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #495057;
    display: flex;
    align-items: flex-start;
}

.gap-recommendation i {
    color: #fd7e14;
    margin-right: 10px;
    margin-top: 3px;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 15px;
    background-color: #0d6efd;
    color: white;
    text-decoration: none;
    border-radius: 0 0 5px 0;
}

.skip-to-content:focus {
    left: 0;
    top: 0;
}

/* Guide Cards for index page */
.guide-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.guide-preview {
    position: relative;
}

.guide-preview img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
}

.interactive-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-content {
    padding: 20px;
}

.guide-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0a192f;
}

.guide-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .guide-progress {
        position: static;
        margin-bottom: 30px;
    }
    
    .guide-header {
        padding: 100px 0 40px;
    }
    
    .guide-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .guide-header {
        padding: 80px 0 30px;
    }
    
    .guide-title {
        font-size: 1.8rem;
    }
    
    .checklist-section {
        padding: 20px;
    }
    
    .question-group {
        padding: 15px;
    }
    
    .section-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-navigation button {
        width: 100%;
    }
}
