/* Checklists Page Styles */

/* Basic Layout */
.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Checklists Page Header */
.checklists-page-header.section-padding {
    padding: 10rem 0 5rem;
}

.checklists-page-header {
    background: linear-gradient(135deg, #111d31 0%, #273039 100%);
    text-align: center;
    position: relative;
}

.checklists-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(155, 89, 182, 0.5);
    z-index: 1;
}

.checklists-page-header .container {
    position: relative;
    z-index: 2;
}

.checklists-page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Checklists Search Section */
.checklists-search-section {
    margin-top: 2rem;
    position: relative;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Filter Section */
.checklists-filter-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: flex-end;
}

.filter-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin: 0;
    text-align: center;
}

.filter-dropdown {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    background: white;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 35px;
    min-width: 150px;
    max-width: 200px;
    height: 36px;
    line-height: 1;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #bdd653;
    box-shadow: 0 0 0 3px rgba(189, 214, 83, 0.1);
}

.clear-filters-btn {
    background: #273039;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px;
    line-height: 1;
    margin-top: 24px;
}

.clear-filters-btn:hover {
    background: #1a2329;
    transform: translateY(-1px);
}

.filter-results {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-results p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

/* Checklists Grid */
.checklists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Checklist Card */
.checklist-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.checklist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #bdd653;
}

/* Checklist Icon */
.checklist-icon {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.checklist-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checklist-icon-placeholder {
    color: #bdd653;
    font-size: 3rem;
}

.checklist-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(189, 214, 83, 0.9);
    color: #273039;
    padding: 4px 12px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Checklist Content */
.checklist-content {
    padding: 1.5rem;
}

.checklist-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.checklist-time,
.checklist-difficulty {
    display: flex;
    align-items: center;
    gap: 4px;
}

.checklist-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #273039;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.checklist-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Checklist Features */
.checklist-features {
    margin-bottom: 1.5rem;
}

.checklist-features h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #273039;
    margin: 0 0 0.5rem 0;
}

.checklist-features ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #666;
    font-size: 0.9rem;
}

.checklist-features li {
    margin-bottom: 0.25rem;
}

/* Checklist Tags */
.checklist-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checklist-category-tag {
    background: rgba(189, 214, 83, 0.1);
    color: #273039;
    padding: 4px 10px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(189, 214, 83, 0.3);
}

/* Phase Badge */
.checklist-phase {
    margin-bottom: 1.5rem;
}

.phase-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-planning {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.phase-launch {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.phase-execution {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.phase-optimization {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.phase-maintenance {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Checklist Actions */
.checklist-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-primary {
    background: #bdd653;
    color: #273039;
}

.btn-primary:hover {
    background: #a8c442;
    color: #273039;
}

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

.btn-secondary:hover {
    background: #1a2329;
    color: white;
}

.btn-tertiary {
    background: #6c757d;
    color: white;
}

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

/* Interactive Modal */
.interactive-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.interactive-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80%;
    margin: 5% auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.interactive-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.interactive-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.interactive-modal-body {
    width: 100%;
    height: 100%;
    padding: 2rem;
    overflow-y: auto;
}

.interactive-checklist {
    max-width: 600px;
    margin: 0 auto;
}

.interactive-checklist h3 {
    color: #273039;
    margin-bottom: 1rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: #e9ecef;
}

.checklist-item input[type="checkbox"] {
    margin-top: 2px;
    transform: scale(1.2);
}

.checklist-item label {
    margin: 0;
    cursor: pointer;
    line-height: 1.4;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Quick Tools Section */
.quick-tools-section {
    background: #f8f9fa;
}

.quick-tools-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.quick-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.quick-tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.quick-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #bdd653;
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #bdd653 0%, #a8c442 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #273039;
    font-size: 2rem;
}

.quick-tool-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #273039;
    margin-bottom: 1rem;
}

.quick-tool-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Quick Tools Modal Styles */
.quick-tool-content {
    max-width: 600px;
    margin: 0 auto;
}

.quick-tool-content h3 {
    color: #273039;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.tool-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #273039;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #bdd653;
    box-shadow: 0 0 0 3px rgba(189, 214, 83, 0.1);
}

.tool-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #bdd653;
}

.tool-result h4 {
    color: #273039;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-content {
    color: #666;
}

.timeline-estimate {
    text-align: center;
    margin-bottom: 1.5rem;
}

.timeline-number {
    font-size: 3rem;
    font-weight: 700;
    color: #bdd653;
    display: block;
}

.timeline-label {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-breakdown p {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-breakdown p:last-child {
    border-bottom: none;
}

.roi-metrics, .capacity-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.metric-label {
    font-weight: 600;
    color: #273039;
}

.metric-value {
    font-weight: 700;
    color: #bdd653;
    font-size: 1.1rem;
}

.capacity-recommendation {
    margin-top: 1.5rem;
}

.capacity-recommendation h5 {
    color: #273039;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.capacity-recommendation ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #666;
}

.capacity-recommendation li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.smart-criteria {
    margin-bottom: 1.5rem;
}

.smart-goal-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.smart-goal-summary h5 {
    color: #273039;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.smart-breakdown p {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    line-height: 1.5;
}

.smart-breakdown p:last-child {
    border-bottom: none;
}

.goal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* No Checklists Message */
.no-checklists-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-checklists-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Checklists CTA Section */
.checklists-cta-section {
    background: white;
}

.checklists-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .filter-dropdowns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .filter-dropdown-group {
        width: 100%;
        max-width: 300px;
    }
    
    .filter-dropdown {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .search-input {
        padding: 12px 45px 12px 15px;
        font-size: 1rem;
    }
    
    .search-icon {
        right: 15px;
        font-size: 1.1rem;
    }
    
    .checklists-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .checklist-content {
        padding: 1.25rem;
    }
    
    .checklist-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .checklist-actions {
        flex-direction: column;
    }
    
    .quick-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .interactive-modal-content {
        width: 95%;
        height: 70%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .checklist-content {
        padding: 1rem;
    }
    
    .checklist-title {
        font-size: 1.1rem;
    }
    
    .checklist-excerpt {
        font-size: 0.9rem;
    }
    
    .filter-dropdown {
        font-size: 0.9rem;
        padding: 6px 12px;
        height: 32px;
    }
    
    .clear-filters-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
        height: 32px;
    }
    
    .interactive-modal-content {
        width: 98%;
        height: 60%;
        margin: 15% auto;
    }
    
    .interactive-modal-body {
        padding: 1rem;
    }
    
    .tool-form {
        padding: 1rem;
    }
    
    .roi-metrics, .capacity-metrics {
        gap: 0.75rem;
    }
    
    .metric {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem;
    }
    
    .goal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .goal-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}
