
:root {
    --primary: #000f46;
    --primary-dark: #1d4ed8;
    --secondary: #059669;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --warning: #d97706;
    --danger: #dc2626;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: var(--dark);
}

.header {
    background: linear-gradient(135deg, #041348 0%, #001356 100%);
    color: white;
    padding: 2rem 3rem 4rem 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 auto;
}

.header .note{
    font-size: 8.5pt;
    color: #CCCCCCBB;
    max-width: 45rem;
    font-style: italic;
    margin-top: 1rem;
}

.logo-container {
    align-self: center;
    justify-self: flex-start;
}

.main-container {
    background-color: white;
    border-radius: 0.8rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem 2rem 2rem;
    position: relative;
    /* z-index: 10; */
    max-width: 85%;
    margin: auto;
    margin-top: -2rem;
}

.nav-tabs {
    border-bottom: 2px solid var(--gray-light);
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
    border: none;
    font-weight: 600;
    color: var(--gray);
    padding: 0.75rem 1rem;
    margin-right: 1rem;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    transition: all 0.1s ease-in-out;
}

.nav-tabs .nav-link:hover {
    border-bottom: 3px solid var(--primary);
    transition: all 0.1s ease-in-out;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-light);
    width: 100%;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.dropdown-toggle {
    width: 100%;
    text-align: left;
    position: relative;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 0.5rem;
    background-color: white;
    color: var(--dark);
}

.dropdown-toggle::after {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

#results-container {
    scroll-margin-top: 3rem;
}

.result-card {
    background-color: white;
    border-radius: 0.1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.result-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.result-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.result-card .authors {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.result-card .source {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.result-card .description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.tag-badge {
    display: inline-block;
    padding: 0.5em 1.1em;
    border-radius: 9999px;
    background-color: #f8f9fa;
    color: #0e0e0e;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.15rem;
    margin-bottom: 0.15rem;
}

.tag-green {
    background-color: #d1fae5;
    color: #059669;
}

.tag-yellow {
    background-color: #fef3c7;
    color: #d97706;
}

.tag-purple {
    background-color: #f3e8ff;
    color: #7e22ce;
}

.tag-red {
    background-color: #fee2e2;
    color: #dc2626;
}

.tag-highlighted {
    border: 1.5px solid var(--primary);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

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

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

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

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

.pagination {
    margin-top: 2rem;
    justify-content: center;
}

.page-link {
    color: var(--primary);
    border: 1px solid var(--gray-light);
    padding: 0.5rem 0.75rem;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.modal-header {
    background-color: var(--primary);
    color: white;
}

.modal-body {
    padding: 2rem;
}
.modal-header .btn-close{
    color: white;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray);
    margin-bottom: 2rem;
}

.footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.graa-tower {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.graa-tower:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tower-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tower-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tower-subtitle {
    color: var(--gray);
    margin-bottom: 1rem;
}

.advanced-search-toggle {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
}

.advanced-search-toggle i {
    margin-right: 0.5rem;
}

.advanced-search-panel {
    background-color: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1rem;
    display: none;
}

#graaTowerTab.active {
    color: var(--secondary);
    border-bottom: 3px solid var(--secondary);
}
#graaTowerTab:hover {
    border-bottom: 3px solid var(--secondary);
}

#actionPrioritiesTab.active {
    color: var(--warning);
    border-bottom: 3px solid var(--warning);
}
#actionPrioritiesTab:hover {
    border-bottom: 3px solid var(--warning);
}
#knowledgeGapsTab.active {
    color: var(--danger);
    border-bottom: 3px solid var(--danger);
}
#knowledgeGapsTab:hover {
    border-bottom: 3px solid var(--danger);
}

.tower-1 {
    border-left: 4px solid #3b82f6;
}

.tower-2 {
    border-left: 4px solid #059669;
}

.tower-3 {
    border-left: 4px solid #d97706;
}

.tower-4 {
    border-left: 4px solid #dc2626;
}

.stats-container {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.map-container {
    height: 400px;
    background-color: #e2e8f0;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}


.action-priority-header, .gap-priority-header{
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 1rem;
}

.action-priority-header h5, .gap-priority-header h5 {
    width: 3rem;
}

.action-priority-header p, .gap-priority-header p {
    width: 100%;
}

.action-priority-header span.badge {
    width: 5rem;
    text-align: center;
}

.gap-priority-header span.badge {
    width: 8rem;
    text-align: center;
}

