* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ecf5f4;
    color: #231f20;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    color: #231f20;
    margin-bottom: 20px;
    text-align: center;
}

/* Client Context Bar */
.client-context {
    background: linear-gradient(135deg, #008070 0%, #32373c 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.context-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.context-header h3 {
    margin: 0;
    color: white;
    font-size: 22px;
}

.context-header-buttons {
    display: flex;
    gap: 10px;
}

.context-edit-btn,
.share-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.context-edit-btn:hover,
.share-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.context-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.context-label {
    font-weight: 600;
    opacity: 0.9;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.context-value {
    opacity: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Allow campaign focus to wrap and take more space */
#contextObjective {
    white-space: normal;
    line-height: 1.4;
    overflow: visible;
    text-overflow: initial;
}

/* Make campaign focus item wider */
.context-item-wide {
    grid-column: span 2;
}

/* On smaller screens, let it take full width */
@media (max-width: 768px) {
    .context-item-wide {
        grid-column: span 1;
    }
}

.context-notes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.context-notes-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.context-notes-content {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
}


/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    color: #333;
    transform: scale(1.1);
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #231f20;
}

/* Ensure all modal inputs are full width */
.modal-content input[type="text"],
.modal-content input[type="url"],
.modal-content input[type="password"],
.modal-content select,
.modal-content textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Multi-select objectives */
.selected-objectives-container {
    min-height: 45px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.objectives-placeholder {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

.objective-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #e8f5f3;  /* Light green background */
    border: 1px solid #66b2a5;  /* Darker green border */
    border-radius: 16px;
    font-size: 14px;
    color: #008070;  /* Dark green text */
}

.objective-remove {
    background: none;
    border: none;
    color: #008070;  /* Dark green */
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.objective-remove:hover {
    background: #008070;  /* Dark green background on hover */
    color: white;
}

#clientObjectiveSelector option:disabled {
    color: #999;
    font-style: italic;
    background: #f5f5f5;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions button {
    flex: 1;
}

.welcome-modal {
    text-align: center;
}

.welcome-modal h2 {
    color: #008070;
    margin-bottom: 15px;
}

.welcome-modal p {
    color: #666;
    margin-bottom: 20px;
}

.welcome-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    display: inline-block;
}

.welcome-benefits li {
    padding: 8px 0;
    color: #555;
}

/* Share Modal */
.share-options {
    margin: 20px 0;
}

.share-option {
    display: block;
    margin: 10px 0;
    cursor: pointer;
}

.share-option input[type="radio"] {
    margin-right: 8px;
}

.generated-link-section {
    margin-top: 20px;
}

.generated-link-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.share-link-container {
    position: relative;
    display: flex;
    gap: 10px;
}

.share-link-container input {
    flex: 1;
    padding: 10px;
    font-size: 13px;
    background-color: #f8f9fa;
}

.share-link-container .copy-btn {
    position: static;
    padding: 10px 16px;
}

.share-note {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.settings-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Collapsible API Settings */
.api-settings-collapsible {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    overflow: hidden;
}

.api-settings-collapsible summary {
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: #32373c;
    user-select: none;
    transition: all 0.2s;
}

.api-settings-collapsible summary:hover {
    background: #ecf5f4;
}

.api-settings-collapsible[open] summary {
    background: #ecf5f4;
    border-bottom: 1px solid #dee2e6;
}

.api-settings-collapsible .settings-section {
    margin-bottom: 0;
    box-shadow: none;
    border-radius: 0;
}

.settings-section h3 {
    color: #231f20;
    margin-bottom: 15px;
}

.provider-config {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.api-config {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.api-config small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.api-config a {
    color: #3498db;
    text-decoration: none;
}

.api-config a:hover {
    text-decoration: underline;
}

.input-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.provider-config .form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #32373c;
}

input[type="url"],
input[type="text"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input[type="url"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #008070;
}

.primary-btn,
.secondary-btn {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.primary-btn {
    background-color: #008070;
    color: white;
}

.primary-btn:hover {
    background-color: #006a5c;
}

.secondary-btn {
    background-color: #32373c;
    color: white;
}

.provider-config .secondary-btn {
    justify-self: start;
}

.secondary-btn:hover {
    background-color: #231f20;
}

.results-section,
.elements-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.result-box {
    margin-bottom: 25px;
    position: relative;
}

.result-box h3 {
    color: #555;
    margin-bottom: 10px;
}

.selector-code,
.code-example {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 40px;
    padding: 6px 12px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.copy-btn:hover {
    background-color: #5a6268;
}

/* Prominent Tealium copy button */
.primary-copy-btn {
    position: static;
    margin-top: 15px;
    padding: 12px 24px;
    background-color: #008070;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 128, 112, 0.3);
    transition: all 0.3s ease;
}

.primary-copy-btn:hover {
    background-color: #006a5c;
    box-shadow: 0 4px 10px rgba(0, 128, 112, 0.4);
    transform: translateY(-1px);
}

.tealium-selector-box {
    background-color: #ecf5f4;
    border: 2px solid #008070;
    padding: 20px;
}

.tealium-selector-box h3 {
    color: #008070;
}

.tealium-selector-box .selector-code {
    background-color: #fff;
    border: 1px solid #008070;
    margin-bottom: 15px;
    font-size: 16px;
    padding: 20px;
}

.selector-help {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.validation-info {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.validation-info.valid {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.validation-info.invalid {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.guidance-box {
    background-color: #f0f8ff;
    border: 1px solid #b3d9ff;
}

.testing-guide p {
    margin: 10px 0 5px 0;
    font-weight: 600;
}

.testing-guide pre {
    margin-bottom: 10px;
}

.tealium-guide {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
    border: 1px solid #ddd;
}

.ai-explanation {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.ai-explanation h3 {
    color: #495057;
    margin-bottom: 10px;
}

.explanation-text {
    color: #495057;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.explanation-text p {
    margin: 10px 0;
}

.explanation-text ul, .explanation-text ol {
    margin: 10px 0;
    padding-left: 25px;
}

.explanation-text li {
    margin: 5px 0;
}

.explanation-text strong {
    color: #333;
    font-weight: 600;
}

.explanation-text em {
    background-color: #f0f8ff;
    padding: 2px 4px;
    border-radius: 3px;
    font-style: normal;
}

.elements-list {
    max-height: 500px;
    overflow-y: auto;
}

.element-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.element-item:hover {
    background-color: #f9f9f9;
}

.element-tag {
    font-weight: bold;
    color: #2196F3;
}

.element-text {
    color: #666;
    margin-left: 10px;
}

.loading {
    text-align: center;
    padding: 50px;
}

.loading p {
    margin-top: 20px;
}

#analysisStatus {
    transition: opacity 0.3s ease-in-out;
    font-style: italic;
    color: #008070;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    min-width: 100px;
}

.tab-icon {
    font-size: 20px;
}

.tab-text {
    font-size: 13px;
    font-weight: 600;
}

.tab-button:hover {
    background-color: #f0f0f0;
}

.tab-button.active {
    background-color: #008070;
    color: white;
}

@media (max-width: 768px) {
    .tab-navigation {
        gap: 3px;
    }
    
    .tab-button {
        min-width: 80px;
        padding: 8px 12px;
    }
    
    .tab-icon {
        font-size: 18px;
    }
    
    .tab-text {
        font-size: 11px;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Site Analysis Styles */
.analysis-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Analysis URL input specific styling */
#analysisUrl {
    background-color: white !important;
}

#analysisUrl:focus {
    background-color: #e8f5f3 !important;  /* Light green on focus */
    border-color: #008070;
}

/* Override browser autofill styles */
#analysisUrl:-webkit-autofill,
#analysisUrl:-webkit-autofill:hover,
#analysisUrl:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #e8f5f3 inset !important;
    -webkit-text-fill-color: #333 !important;
    background-color: #e8f5f3 !important;
}

.analysis-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.analysis-results {
    margin-top: 30px;
}

.analysis-summary,
.tracking-recommendations,
.onboarding-questions,
.quick-selectors {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.analysis-summary h3,
.tracking-recommendations h3,
.onboarding-questions h3,
.quick-selectors h3 {
    color: #231f20;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.site-type-badge {
    display: inline-block;
    padding: 8px 16px;  /* Match button padding */
    background-color: #231f20;  /* Black background */
    color: white;
    border: 2px solid #231f20;  /* Match button border width */
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.use-client-setup-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #008070;  /* Primary green */
    color: white;
    border: 2px solid #008070;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.use-client-setup-btn:hover {
    background-color: #006a5c;  /* Darker green on hover */
    border-color: #006a5c;
    transform: translateY(-1px);
}

.recommendation-item,
.onboarding-question-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 4px solid #008070;
}

.onboarding-question-item {
    border-left-color: #2196f3;
}

.question-category {
    display: inline-block;
    background: #e8f5f3;  /* Light green background */
    color: #008070;  /* Dark green text */
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.question-text {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.question-why {
    font-size: 13px;
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

.recommendation-priority {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.priority-high {
    background-color: #ffebee;
    color: #c62828;
}

.priority-medium {
    background-color: #fff3e0;
    color: #e65100;
}

.priority-low {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.recommendation-detail,
.gap-detail {
    color: #555;
    margin-top: 8px;
    line-height: 1.6;
}

.quick-selector-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.quick-selector-item:hover {
    border-color: #4CAF50;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.2);
}

.quick-selector-label {
    font-weight: 600;
    color: #333;
}

.generate-quick-btn {
    padding: 8px 16px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.generate-quick-btn:hover {
    background-color: #1976D2;
}

.tracking-score {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.score-bar {
    flex: 1;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.score-fill {
    height: 100%;
    background-color: #008070;
    transition: width 0.5s ease;
}

.score-label {
    font-weight: 600;
    color: #333;
    min-width: 50px;
}

/* Performance Playbook Styles */
.playbook-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.playbook-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.playbook-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
}

.filter-group:last-child {
    flex: 0 0 auto;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.sync-filters-btn {
    background-color: #008070;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.sync-filters-btn:hover {
    background-color: #006a5c;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 128, 112, 0.3);
}

.playbook-category {
    margin-bottom: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.category-title {
    background-color: #ecf5f4;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.category-title:hover {
    background-color: #d0e8e5;
}

.expand-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

.category-title.collapsed .expand-icon {
    transform: rotate(-90deg);
}

.category-content {
    padding: 20px;
    display: block;
}

.category-content.collapsed {
    display: none;
}

.practice-card,
.objective-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.practice-card h4,
.objective-card h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.practice-item {
    padding: 20px;
    border-radius: 6px;
    position: relative;
}

.practice-item.must-have {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
}

.practice-item.should-have {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
}

.practice-item.nice-to-have {
    background-color: #ecf5f4;
    border-left: 4px solid #008070;
}

.priority-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.must-have .priority-badge {
    background-color: #f44336;
    color: white;
}

.should-have .priority-badge {
    background-color: #ff9800;
    color: white;
}

.nice-to-have .priority-badge {
    background-color: #008070;
    color: white;
}

.practice-item h5 {
    color: #333;
    margin-bottom: 12px;
    font-size: 16px;
}

.practice-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.practice-item li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.5;
}

.practice-item li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #008070;
    font-weight: bold;
}

.objective-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.metric-group h5 {
    color: #333;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.metric-group ul {
    list-style: none;
    padding: 0;
}

.metric-group li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.checklist-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
}

.checklist-section h4 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.checklist-items {
    display: grid;
    gap: 15px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.checklist-item:hover {
    background-color: #f8f9fa;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checklist-item span {
    flex: 1;
    color: #333;
    font-size: 15px;
}

/* Filter functionality */
.practice-card[data-hidden="true"],
.objective-card[data-hidden="true"] {
    display: none;
}

/* UTM Builder Styles */
.utm-builder-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.utm-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.utm-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.utm-warning h3 {
    color: #856404;
    margin-bottom: 15px;
}

.mistake-list {
    display: grid;
    gap: 15px;
}

.mistake-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.mistake-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.mistake-content strong {
    color: #721c24;
    display: block;
    margin-bottom: 5px;
}

.mistake-content p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

.utm-builder-form {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.utm-builder-form h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.utm-builder-form h4 {
    color: #495057;
    margin-top: 25px;
    margin-bottom: 15px;
}

#utmSourceCustom,
#utmMediumCustom {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.required {
    color: #dc3545;
}

.optional {
    color: #6c757d;
    font-size: 14px;
}

.suggest-btn {
    background: #008070;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.2s;
    vertical-align: middle;
}

.suggest-btn:hover {
    background: #006a5c;
    transform: translateY(-1px);
}

.utm-tip {
    background-color: #e8f5f3;  /* Light green background */
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    color: #008070;  /* Dark green text */
}

.utm-output {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 2px solid #008070;
}

.utm-output h3 {
    color: #008070;
    margin-bottom: 20px;
}

.generated-url-container {
    position: relative;
    margin-bottom: 25px;
}

.generated-url {
    display: block;
    background-color: #fff;
    padding: 15px 120px 15px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
    margin-bottom: 0;
    overflow-wrap: break-word;
    color: #008070;
    text-decoration: none;
}

.generated-url:hover {
    text-decoration: underline;
    background-color: #f8f9fa;
}

#copyUtmUrl {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.copy-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.copy-actions .secondary-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
}

.utm-preview {
    margin-bottom: 20px;
}

.utm-preview h4 {
    color: #495057;
    margin-bottom: 10px;
}

.utm-preview-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
}

.utm-preview-table th {
    background-color: #e9ecef;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
}

.utm-preview-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

.utm-preview-table tr:last-child td {
    border-bottom: none;
}

.utm-validation ul {
    list-style: none;
    padding: 0;
}

.utm-validation li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    word-break: break-all;
    overflow-wrap: break-word;
}

.utm-validation li:before {
    content: '✓';
    color: #008070;
    font-weight: bold;
    flex-shrink: 0;
}

.utm-validation li.error:before {
    content: '✗';
    color: #dc3545;
}

.utm-validation li.checking {
    color: #6c757d;
    font-style: italic;
}

.utm-validation li.checking:before {
    content: '⌛';
    animation: spin 1s linear infinite;
}

.utm-validation a:hover {
    background-color: #e9ecef !important;
    color: #0056b3 !important;
}

/* Bulk URL Generation */
.bulk-url-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px dashed #6c757d;
}

.bulk-url-section h3 {
    color: #495057;
    margin-bottom: 10px;
}

.bulk-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.bulk-results {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.bulk-results h4 {
    color: #008070;
    margin-bottom: 15px;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.bulk-actions button {
    flex: 1;
}

.bulk-url-list {
    max-height: 400px;
    overflow-y: auto;
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.bulk-url-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.bulk-url-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bulk-url-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.bulk-url-value {
    font-family: monospace;
    font-size: 13px;
    background-color: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    word-break: break-all;
    display: block;
}

.utm-templates {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #b3d9ff;
}

.utm-templates h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.template-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.template-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 8px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.template-btn:hover {
    border-color: #2196F3;
    background-color: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(33, 150, 243, 0.2);
}

.template-btn.active {
    border-color: #2196F3;
    background-color: #2196F3;
    color: white;
}

.platform-icon {
    font-size: 24px;
}

.autotagging-warning {
    background-color: #fff8e1;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.autotagging-warning h4 {
    color: #f57c00;
    margin-bottom: 10px;
}

.autotagging-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.autotagging-info,
.autotagging-recommendation {
    background: white;
    padding: 15px;
    border-radius: 6px;
}

.autotagging-info h5,
.autotagging-recommendation h5 {
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.autotagging-info ul,
.autotagging-recommendation ul {
    list-style: none;
    padding: 0;
}

.autotagging-info li,
.autotagging-recommendation li {
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 13px;
    color: #555;
}

.autotagging-info li:before,
.autotagging-recommendation li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffc107;
    font-weight: bold;
}

.utm-best-practices {
    background-color: #f0f8ff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #b3d9ff;
}

.utm-best-practices h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.practice-box {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.practice-box h4 {
    color: #2196F3;
    margin-bottom: 10px;
    font-size: 16px;
}

.practice-box ul {
    list-style: none;
    padding: 0;
}

.practice-box li {
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
    color: #555;
    font-size: 14px;
}

.practice-box li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2196F3;
    font-weight: bold;
}

/* Tracking AI Chat Interface Styles */
.tracking-ai-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.tracking-ai-header {
    text-align: center;
    margin-bottom: 30px;
}

.tracking-ai-header h2 {
    color: #008070;
    margin-bottom: 10px;
}

.tracking-ai-header p {
    color: #666;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.chat-container {
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-messages {
    height: 650px;
    overflow-y: auto;
    padding: 24px;
    background: white;
    scroll-behavior: smooth;
    font-size: 15px;
    line-height: 1.6;
}

.ai-message, .user-message {
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-message .message-content {
    background: #f0f9ff;
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid #008070;
    max-width: 85%;
}

.user-message {
    text-align: right;
}

.user-message .message-content {
    background: #f3f4f6;
    padding: 16px 20px;
    border-radius: 12px;
    display: inline-block;
    max-width: 85%;
    text-align: left;
    margin-left: auto;
}

.message-content ul {
    margin: 15px 0;
    padding-left: 24px;
    line-height: 1.7;
}

.message-content li {
    margin: 10px 0;
    color: #374151;
}

.message-content p {
    margin: 12px 0;
    line-height: 1.6;
}

.message-content p:first-child {
    margin-top: 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.chat-input-container {
    background: #f9fafb;
    padding: 24px;
    border-top: 1px solid #e5e7eb;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.suggestion-chip {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: #374151;
}

.suggestion-chip:hover {
    background: #008070;
    color: white;
    border-color: #008070;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 15px;
    min-height: 50px;
    max-height: 150px;
}

.chat-input:focus {
    outline: none;
    border-color: #008070;
    box-shadow: 0 0 0 3px rgba(0, 128, 112, 0.1);
}

.send-chat-btn {
    background: #008070;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.send-chat-btn:hover {
    background: #006654;
}

.send-chat-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 24px;
    background: #f0f9ff;
    border-radius: 18px;
    border-left: 4px solid #008070;
    margin-bottom: 12px;
}

.typing-indicator span {
    width: 10px;
    height: 10px;
    background: #008070;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
    opacity: 0.5;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Advanced Features Footer */
.advanced-features-footer {
    max-width: 900px;
    margin: 40px auto 80px auto;  /* Add bottom margin for space before footer */
    padding: 0 20px;
}

.advanced-features-collapsible {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.advanced-features-collapsible summary {
    padding: 20px;
    background: #2d2d2d;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
}

.advanced-features-collapsible summary:hover {
    background: #3a3a3a;
}

.advanced-features-collapsible summary::-webkit-details-marker {
    display: none;
}

.advanced-features-collapsible summary::before {
    content: '▶';
    display: inline-block;
    transition: transform 0.3s;
}

.advanced-features-collapsible[open] summary::before {
    transform: rotate(90deg);
}

.advanced-features-content {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #1a1a1a;
}

@media (max-width: 768px) {
    .advanced-features-content {
        grid-template-columns: 1fr;
    }
}

.feature-section {
    background: #2d2d2d;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #444;
}

.feature-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #4ecdc4;
    font-size: 18px;
}

.section-description {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Crawling Options Specific Styles */
.crawl-config .form-group {
    margin-bottom: 15px;
}

.crawl-config label {
    color: #e0e0e0;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.crawl-config .form-text {
    color: #b0b0b0;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.crawl-time-estimate {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #444;
    margin-top: 20px;
}

.crawl-time-estimate strong {
    color: #4ecdc4;
}

.crawl-time-estimate #timeEstimate {
    color: #e0e0e0;
    font-weight: bold;
}
}

/* Dark mode styles for advanced features content */
.advanced-features-content p {
    color: #ccc;
}

.advanced-features-content label {
    color: #e0e0e0;
}

.advanced-features-content a {
    color: #5ee3c4;
    text-decoration: none;
}

.advanced-features-content a:hover {
    color: #8fffdc;
    text-decoration: underline;
}

.advanced-features-content small,
.advanced-features-content .form-text {
    color: #a0a0a0;
}

.advanced-features-content select,
.advanced-features-content input {
    background: #0d0d0d;
    color: #e0e0e0;
    border: 1px solid #444;
}

.advanced-features-content select:focus,
.advanced-features-content input:focus {
    border-color: #4ecdc4;
    outline: none;
}

.tool-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.danger-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.danger-btn:hover {
    background: #c82333;
}

.warning-text {
    font-size: 13px;
    color: #ff6b6b;
    background: #3a1a1a;
    padding: 10px;
    border-radius: 5px;
    margin: 0;
    border: 1px solid #5a2a2a;
}

.provider-config-section {
    margin-bottom: 20px;
}

/* Guided Tour Styles */
.tour-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.tour-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.tour-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Backdrop now handled by spotlight shadow */
    background: transparent;
    z-index: 9999;
}

.tour-highlight {
    position: fixed;
    border: 3px solid #008070;
    border-radius: 8px;
    box-shadow: 
        0 0 0 4px rgba(0, 128, 112, 0.3),
        0 0 0 9999px rgba(0, 0, 0, 0.8),  /* Creates spotlight effect */
        inset 0 0 20px rgba(0, 128, 112, 0.2);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.tour-tooltip {
    position: fixed;
    background: white;
    border-radius: 12px;
    padding: 25px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.tour-tooltip h4 {
    margin: 0 0 15px 0;
    color: #008070;
    font-size: 20px;
}

.tour-tooltip p {
    margin: 0 0 20px 0;
    color: #333;
    line-height: 1.6;
}

.tour-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.tour-close:hover {
    background: #f0f0f0;
    color: #333;
}

.tour-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.tour-nav-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.tour-nav-btn:hover {
    background: #f8f9fa;
}

.tour-nav-btn.primary {
    background: #008070;
    color: white;
    border-color: #008070;
}

.tour-nav-btn.primary:hover {
    background: #006654;
}

.tour-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tour-progress {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Tooltip positioning classes */
.tour-tooltip.bottom {
    margin-top: 20px;
}

.tour-tooltip.top {
    margin-top: -20px;
    transform: translateY(-100%);
}

.tour-tooltip.left {
    margin-left: -20px;
    transform: translateX(-100%);
}

.tour-tooltip.right {
    margin-left: 20px;
}

/* Page-specific help buttons */
.page-help-btn {
    position: absolute;
    top: -10px;  /* 1/4 inside, 3/4 outside */
    left: -10px;  /* Back to left side, 1/4 inside */
    background: #008070;
    color: white;
    border: 2px solid white;  /* White border to stand out */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    z-index: 10;
}

.page-help-btn:hover {
    background: #006654;
    transform: scale(1.1);
}

.page-help-btn::after {
    content: 'Click for help';
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.page-help-btn:hover::after {
    opacity: 1;
}

/* Tab content positioning for help buttons */
.tab-content {
    position: relative;
    /* Reduced padding since help button is now half inside */
    padding-top: 10px;
}

/* Recommended Pages Styles */
.recommended-pages {
    background: linear-gradient(135deg, #ecf5f4 0%, #f0f8ff 100%);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.recommended-pages h3 {
    margin: 0 0 10px 0;
    color: #008070;
    font-size: 18px;
}

.recommended-description {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.recommended-pages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.recommended-page-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommended-page-item:hover {
    border-color: #008070;
    box-shadow: 0 2px 8px rgba(0, 128, 112, 0.1);
    transform: translateY(-1px);
}

.recommended-page-item.selected {
    border-color: #008070;
    background: rgba(0, 128, 112, 0.05);
}

.page-type-badge {
    background: #008070;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    min-width: 60px;
    text-align: center;
}

.page-info {
    flex: 1;
    min-width: 0;
}

.page-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-url {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-features {
    display: flex;
    gap: 5px;
    margin-top: 4px;
}

.feature-tag {
    background: #f8f9fa;
    color: #495057;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Validation Badges */
.analysis-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.validation-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    cursor: help;
}

.validation-badge.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.validation-badge.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.session-id {
    font-size: 11px;
    background: #f8f9fa;
    color: #6c757d;
    padding: 3px 8px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    cursor: help;
}

/* Tracking Platforms Breakdown */
.tracking-platforms-breakdown {
    margin-top: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.platforms-section {
    margin-bottom: 20px;
}

.platforms-section:last-child {
    margin-bottom: 0;
}

.platforms-section h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    color: #333;
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.platform-badge.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.platform-badge.missing {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.platform-badge.missing.clickable-platform {
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.platform-badge.missing.clickable-platform:hover {
    background: #f5c6cb;
    border-color: #f1b0b7;
    color: #491217;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.platform-badge.tag-management {
    background: #e8f5f3;  /* Light green background */
    color: #008070;  /* Dark green text */
    border: 1px solid #66b2a5;  /* Green border */
}

.missing-note {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
}

/* Improved tour animations */
.tour-highlight {
    animation: tourPulse 2s ease-in-out infinite;
}

@keyframes tourPulse {
    0%, 100% {
        box-shadow: 
            0 0 0 4px rgba(0, 128, 112, 0.3),
            0 0 0 9999px rgba(0, 0, 0, 0.8),
            inset 0 0 20px rgba(0, 128, 112, 0.2);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(0, 128, 112, 0.4),
            0 0 0 9999px rgba(0, 0, 0, 0.8),
            inset 0 0 30px rgba(0, 128, 112, 0.3);
    }
}

/* Footer */
.site-footer {
    background: #231f20;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    border-top: 3px solid #008070;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.site-footer p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.site-footer strong {
    color: #4ecdc4;
    font-weight: 600;
}

.footer-contact {
    font-size: 14px;
}

.footer-contact a {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #7eddd8;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 20px;
}

/* Site context box for Key Pages tab */
.site-context-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.site-context-box h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 18px;
}

.site-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.detail-value {
    color: var(--primary);
    font-weight: 500;
}

/* Recommended Tracking Pages */
.recommended-tracking-pages {
    margin-top: 30px;
}

.recommended-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recommended-page-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.2s;
}

.recommended-page-card:hover {
    background: #ffffff;
    border-color: #008070;
    box-shadow: 0 2px 8px rgba(0, 128, 112, 0.1);
}

.page-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.page-info {
    flex: 1;
}

.page-info h4 {
    margin: 0 0 8px 0;
    color: #008070;
    font-size: 16px;
}

.page-description {
    color: #666;
    font-size: 13px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.page-url {
    display: block;
    background: #e8f5f4;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #008070;
    margin: 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tracking-elements {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.element-tag {
    background: #008070;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Improved tracking score bar */
.tracking-score {
    margin-top: 15px;
}

.score-label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.score-bar {
    height: 24px;
    background: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
}

.score-fill {
    height: 100%;
    background: #28a745; /* Default green, will be overridden by JS */
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Score-based color classes */
.score-fill.score-low {
    background: #dc3545; /* Red for 0-33% */
}

.score-fill.score-medium {
    background: #ffc107; /* Yellow for 34-66% */
}

.score-fill.score-high {
    background: #28a745; /* Green for 67-100% */
}

/* Error Modal */
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

.error-modal {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    position: relative;
}

.error-modal h2 {
    margin: 0;
    padding: 25px 25px 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 24px;
    color: #333;
}

.error-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.error-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.error-message {
    padding: 0 25px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 20px 0;
}

.error-suggestions {
    padding: 0 25px 25px;
}

.error-suggestions h3 {
    font-size: 16px;
    color: #008070;
    margin-bottom: 15px;
    font-weight: 600;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #555;
    line-height: 1.4;
}

.error-suggestions li:before {
    content: '→';
    position: absolute;
    left: 10px;
    color: #008070;
    font-weight: bold;
}

.error-modal .primary-btn {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Settings Tab Styles */
.settings-container {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.settings-container h2 {
    color: #008070;
    margin-bottom: 10px;
    font-size: 28px;
}

.settings-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.settings-section {
    background: #f7f8fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e1e4e8;
}

.settings-section h3 {
    color: #008070;
    font-size: 20px;
    margin-bottom: 10px;
}

.section-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.platform-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.platform-checkbox:hover {
    border-color: #008070;
    background: #f0faf8;
}

.platform-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.platform-checkbox input[type="checkbox"]:checked + .platform-label {
    color: #008070;
    font-weight: 500;
}

.platform-checkbox input[type="checkbox"]:checked {
    accent-color: #008070;
}

.platform-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #231f20;
}

.platform-icon {
    font-size: 20px;
}

/* Campaign Types Grid */
.campaign-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.campaign-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 14px;
    background: white;
    border: 2px solid #e1e4e8;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.campaign-checkbox:hover {
    border-color: #008070;
    background: #f0faf8;
}

.campaign-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.campaign-checkbox input[type="checkbox"]:checked + .campaign-label {
    color: #008070;
    font-weight: 500;
}

.campaign-checkbox input[type="checkbox"]:checked {
    accent-color: #008070;
}

.campaign-label {
    font-size: 14px;
    color: #231f20;
}

/* Generated Questions */
.generated-questions {
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.no-questions {
    color: #999;
    text-align: center;
    font-style: italic;
    margin: 40px 0;
}

.question-group {
    margin-bottom: 25px;
}

.question-group h4 {
    color: #008070;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.question-list {
    list-style: none;
    padding: 0;
}

.question-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #231f20;
    line-height: 1.5;
}

.question-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #008070;
    font-weight: bold;
}

/* Settings Actions */
.settings-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e4e8;
}

.settings-actions .primary-btn {
    background: #008070;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-actions .primary-btn:hover {
    background: #006a5c;
    transform: translateY(-1px);
}

.settings-actions .secondary-btn {
    background: white;
    color: #008070;
    padding: 12px 30px;
    border: 2px solid #008070;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-actions .secondary-btn:hover {
    background: #e8f5f3;
}

/* Client Summary Tab Styles */
.summary-container {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.summary-header h2 {
    color: #008070;
    font-size: 28px;
    margin: 0;
}

.summary-actions {
    display: flex;
    gap: 15px;
}

.summary-section {
    background: #f7f8fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e1e4e8;
}

.summary-section h3 {
    color: #008070;
    font-size: 20px;
    margin-bottom: 20px;
}

.summary-placeholder {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 40px 20px;
}

/* Executive Summary */
.summary-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-height: 100px;
}

/* Tracking Infrastructure */
.tracking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 80px;
    top: 30px;
    bottom: -30px;
    width: 2px;
    background: #e1e4e8;
}

.timeline-item:last-child:before {
    display: none;
}

.timeline-date {
    min-width: 80px;
    color: #008070;
    font-weight: 600;
    font-size: 14px;
}

.timeline-content {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    margin-left: 20px;
    flex: 1;
    border: 1px solid #e1e4e8;
}

.timeline-content h4 {
    margin: 0 0 8px 0;
    color: #231f20;
    font-size: 16px;
}

.timeline-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Questions Grid */
.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.question-category {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e1e4e8;
}

.question-category h4 {
    color: #008070;
    font-size: 16px;
    margin-bottom: 15px;
}

.question-category ul {
    list-style: none;
    padding: 0;
}

.question-category li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #231f20;
    line-height: 1.5;
}

.question-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #008070;
    font-weight: bold;
}

/* Meeting Agendas */
.agenda-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.agenda-tab {
    background: white;
    border: 2px solid #e1e4e8;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #231f20;
    transition: all 0.2s ease;
}

.agenda-tab:hover {
    border-color: #008070;
    background: #f0faf8;
}

.agenda-tab.active {
    background: #008070;
    color: white;
    border-color: #008070;
}

.agenda-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e1e4e8;
}

.agenda-content h4 {
    color: #008070;
    margin-bottom: 15px;
}

.agenda-content ul {
    list-style: disc;
    padding-left: 30px;
}

.agenda-content li {
    padding: 5px 0;
    color: #231f20;
}

/* Import/Export Grid */
.import-export-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.export-section, .import-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e1e4e8;
}

.export-section h4, .import-section h4 {
    color: #008070;
    margin-bottom: 15px;
}

.help-text {
    color: #666;
    font-size: 13px;
    margin-top: 10px;
    font-style: italic;
}

/* Progress Tracker */
.progress-tracker {
    background: white;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e1e4e8;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-percentage {
    font-size: 32px;
    font-weight: bold;
    color: #008070;
}

.progress-eta {
    color: #666;
    font-size: 14px;
}

.progress-bar {
    height: 20px;
    background: #e1e4e8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: #008070;
    transition: width 0.5s ease;
}

.progress-stages {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.stage:not(:last-child):after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e1e4e8;
}

.stage.completed:not(:last-child):after {
    background: #008070;
}

.stage-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e1e4e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.stage.completed .stage-icon {
    background: #008070;
    color: white;
}

.stage.in-progress .stage-icon {
    background: #ffa500;
    color: white;
}

.stage-name {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.progress-details h4 {
    color: #008070;
    margin-bottom: 15px;
}

.task-list {
    list-style: none;
    padding: 0;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.task-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #008070;
}

.task-item.completed span {
    color: #999;
    text-decoration: line-through;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .summary-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .import-export-grid {
        grid-template-columns: 1fr;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-stages {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stage:not(:last-child):after {
        display: none;
    }
}/* Summary Tab Styles */
.executive-summary-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #008070;
}

.executive-summary-content h4 {
    margin-top: 0;
    color: #231f20;
}

.executive-summary-content p {
    margin: 10px 0;
}

.tracking-infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.infra-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.infra-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #231f20;
}

.infra-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infra-list li {
    padding: 8px 0;
}

.infra-active {
    color: #008070;
}

.infra-missing {
    color: #dc3545;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommendation-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rec-critical {
    border-left: 4px solid #dc3545;
}

.rec-high {
    border-left: 4px solid #ff8c00;
}

.rec-medium {
    border-left: 4px solid #008070;
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.rec-priority-badge {
    background: #e8f5f3;
    color: #008070;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rec-critical .rec-priority-badge {
    background: #ffe0e0;
    color: #dc3545;
}

.rec-high .rec-priority-badge {
    background: #fff3e0;
    color: #ff8c00;
}

.rec-header h4 {
    margin: 0;
    flex: 1;
}

.rec-description {
    margin: 10px 0;
    color: #666;
}

.rec-action {
    margin: 10px 0;
    color: #008070;
    font-weight: 500;
}

.rec-interactive {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.rec-question {
    margin: 0 0 15px 0;
    font-weight: 500;
}

.rec-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rec-option-btn {
    background: #fff;
    border: 2px solid #008070;
    color: #008070;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rec-option-btn:hover {
    background: #008070;
    color: white;
}

/* Animation Keyframes */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Summary Tab Styles */
.summary-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.summary-header h2 {
    font-size: 28px;
    color: #231f20;
}

.summary-actions {
    display: flex;
    gap: 10px;
}

.summary-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #231f20;
}

.summary-placeholder {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.executive-summary-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.executive-summary-content ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.tracking-infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.infrastructure-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.infrastructure-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #231f20;
}

.infrastructure-section ul {
    list-style: none;
    padding: 0;
}

.infrastructure-section li {
    padding: 5px 0;
    color: #495057;
}

.recommendations-container {
    display: grid;
    gap: 15px;
}

.recommendation-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.recommendation-card h5 {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.priority-badge {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-critical {
    background: #dc3545;
    color: white;
}

.priority-high {
    background: #fd7e14;
    color: white;
}

.priority-medium {
    background: #ffc107;
    color: #212529;
}

.priority-low {
    background: #6c757d;
    color: white;
}

.recommendation-card p {
    color: #666;
    margin-bottom: 15px;
}

.implementation-steps {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.implementation-steps strong {
    display: block;
    margin-bottom: 10px;
    color: #231f20;
}

.implementation-steps ol {
    margin-left: 20px;
    color: #495057;
}

.implementation-steps li {
    margin-bottom: 5px;
}

/* Infrastructure section styles */
.infra-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 15px;
}

.infra-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #231f20;
    font-weight: 600;
}

.infra-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infra-list li {
    padding: 8px 0;
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
}

.infra-active {
    color: #28a745;
}

.infra-missing {
    color: #dc3545;
}


/* Tracking infrastructure grid */
.tracking-infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.tracking-grid {
    /* Ensure the container is visible */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Roadmap tab styles */
.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #e8f5f3 0%, #f0f9f7 100%);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 128, 112, 0.1);
}

.roadmap-header h2 {
    color: #008070;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.roadmap-header p {
    color: #666;
    font-size: 1.2em;
}

.roadmap-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.roadmap-section h3 {
    color: #008070;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5f3;
}

.roadmap-section h4 {
    color: #231f20;
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.roadmap-section ul {
    list-style: none;
    padding-left: 0;
}

.roadmap-section ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.roadmap-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #008070;
    font-weight: bold;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.status-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #008070;
}

.status-item h4 {
    margin-top: 0;
    color: #008070;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.architecture-grid > div {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.timeline-phase {
    background: #e8f5f3;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #008070;
}

.timeline-phase h4 {
    color: #008070;
    margin-top: 0;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.issues-grid > div {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-grid > div {
    background: #e8f5f3;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.contact-grid h4 {
    color: #008070;
    margin-bottom: 10px;
}

.contact-grid a {
    color: #008070;
    text-decoration: none;
    font-weight: bold;
}

.contact-grid a:hover {
    text-decoration: underline;
}
