/* ===================================
   Pursuits Dashboard Styles
   FY26 Top Pursuits Application
   =================================== */

/* Global Resets & Base Styles */
.incubations-body,
.incubation-detail-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
}

.incubation-detail-body {
    min-height: 100vh;
}

/* Container */
.incubations-body .container,
.incubation-detail-body .container {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.incubation-detail-body .container {
    min-height: 100vh;
}

/* Header Styles */
.incubations-body .header,
.incubation-detail-body .header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
    padding: 2.5rem 2rem;
    border-bottom: 4px solid #38bdf8;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.header-title {
    font-size: 2rem;
    font-weight: 700;
    color: #38bdf8;
}

.incubation-detail-body .header-title {
    margin-bottom: 1rem;
}

.header-subtitle {
    font-size: 0.875rem;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.header-tagline {
    margin: 0;
    color: #0ea5e9;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.header-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #cbd5e1;
}

.header-owner strong {
    color: #38bdf8;
    font-weight: 600;
}

.header-owner a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.header-owner a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

/* Back Button */
.back-button {
    background: #38bdf8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.2s;
}

.back-button:hover {
    background: #0ea5e9;
}

/* Guiding Principles */
.guiding-principles {
    background: #f8fafc;
    padding: 1.5rem;
    border-left: 4px solid #38bdf8;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.principles-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.principles-list {
    color: #475569;
    margin-left: 1rem;
}

.principles-list li {
    margin-bottom: 0.4rem;
    list-style: none;
    position: relative;
    padding-left: 1.2rem;
}

.principles-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-weight: 700;
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1rem;
}

.filters-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    display: block;
    margin-bottom: 0.5rem;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.filter-checkbox-label:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
}

.filter-checkbox-label input {
    margin-right: 0.5rem;
    cursor: pointer;
}

.filter-checkbox-label.checked {
    background: #38bdf8;
    border-color: #0ea5e9;
    color: white;
    font-weight: 600;
}

.clear-filters {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 1rem;
}

.clear-filters:hover {
    background: #dc2626;
}

/* Multi-select Dropdown Styles */
.multi-select-dropdown {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.multi-select-dropdown:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.multi-select-dropdown option {
    padding: 0.5rem;
    cursor: pointer;
}

.multi-select-dropdown option:checked {
    background: #38bdf8 linear-gradient(0deg, #38bdf8 0%, #38bdf8 100%);
    color: white;
    font-weight: 600;
}

.multi-select-dropdown option:hover {
    background: #e0f2fe;
}

.multi-select-hint {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-style: italic;
}

/* State Badges */
.state-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.state-badge.state-open {
    background: #10b981;
    color: white;
}

.state-badge.state-completed {
    background: #3b82f6;
    color: white;
}

.state-badge.state-cancelled {
    background: #ef4444;
    color: white;
}

.state-badge.state-envisioning {
    background: #f59e0b;
    color: white;
}

/* Summary Stats */
.summary-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #38bdf8;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* Pursuits Container */
.incubations-container {
    padding: 0 2rem 2rem;
}

/* Pursuit Cards */
.incubation-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.incubation-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 8px 16px rgba(56, 189, 248, 0.1);
}

.incubation-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.incubation-number {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.incubation-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.incubation-title:hover {
    color: #38bdf8;
}

.incubation-owner {
    font-size: 0.8rem;
    color: #64748b;
    margin-left: auto;
    padding-left: 1rem;
}

.incubation-owner a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.incubation-owner a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* Section Labels */
.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 0.3rem;
    margin-top: 1rem;
}

.section-label:first-of-type {
    margin-top: 0;
}

/* Objectives */
.objectives {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.objectives-text {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.6;
    padding: 1rem;
    background: #f8fafc;
    border-left: 4px solid #38bdf8;
    border-radius: 4px;
}

/* Execution List / How List */
.how-list,
.execution-list {
    list-style: none;
    margin: 0.5rem 0 0.8rem 0;
    padding: 0;
}

.how-list li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
}

.how-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-weight: 700;
}

.execution-list {
    margin: 0;
}

.execution-list li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.5;
    background: #f8fafc;
    border-radius: 4px;
}

.execution-list li:before {
    content: "→";
    position: absolute;
    left: 1rem;
    color: #38bdf8;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Collaborators */
.collaborators {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 0.8rem 0;
}

.collaborator-badge {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.owner-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #3b82f6;
    color: #1e40af;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.collaborator-card {
    background: linear-gradient(135deg, #f1f5f9 0%, #e0f2fe 100%);
    border: 2px solid #cbd5e1;
    color: #1e293b;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.collaborator-card:hover {
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(56, 189, 248, 0.2);
}

/* Outcomes */
.outcomes,
.outcomes-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.outcomes li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.25rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
}

.outcomes li:before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-size: 0.6rem;
}

.outcomes-list {
    margin: 0;
}

.outcomes-list li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.5;
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    border-radius: 4px;
}

.outcomes-list li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: #22c55e;
    font-weight: 700;
    font-size: 1rem;
}

/* Detail Page Sections */
.content-section {
    padding: 2rem;
}

.section-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.incubations-body .footer,
.incubation-detail-body .footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 1.5rem 2rem;
    font-size: 0.8rem;
    text-align: center;
    border-top: 4px solid #38bdf8;
}

.footer-text {
    margin-bottom: 0.25rem;
}

/* Loading & Error States */
.loading {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    font-size: 1.1rem;
}

.no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.no-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.no-results-text {
    font-size: 1rem;
}

.not-found {
    text-align: center;
    padding: 3rem 2rem;
}

.not-found-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.not-found-text {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media print {
    .incubations-body {
        background: white;
        padding: 0;
    }
    .incubations-body .container {
        box-shadow: none;
        max-width: 100%;
    }
    .incubation-card {
        page-break-inside: avoid;
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 1.5rem;
    }
    .incubation-title {
        font-size: 1rem;
    }
    .summary-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .filter-checkboxes {
        gap: 0.5rem;
    }
    .collaborators-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
