.search-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.7;
    pointer-events: none;
}

.search-bar {
    padding-left: 45px !important;
}

.search-bar::placeholder {
    color: rgba(167, 139, 250, 0.5) !important;
    opacity: 1 !important;
}

.filter-pill {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(15, 15, 15, 0.5);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    color: #a78bfa;
    transform: translateY(-2px);
}

.filter-pill.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
    color: #c4b5fd;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.roadmap-board {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.roadmap-board::-webkit-scrollbar {
    height: 8px;
}

.roadmap-board::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 4px;
}

.roadmap-board::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 4px;
}

.roadmap-board::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

.roadmap-column {
    flex: 0 0 350px;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.roadmap-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.roadmap-column-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a78bfa;
    margin: 0;
}

.roadmap-column-count {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.roadmap-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
}

.roadmap-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.6);
}

.roadmap-card.hidden {
    display: none;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    flex: 1;
}

.card-priority {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 0.5rem;
}

.priority-high {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.4);
}

.priority-medium {
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
    border: 1px solid rgba(234, 179, 8, 0.4);
}

.priority-low {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.card-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-category {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
}

.card-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-in-progress {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.status-planned {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.roadmap-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1050;
    overflow-y: auto;
}

.roadmap-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-modal-dialog {
    width: 90%;
    max-width: 700px;
    margin: 2rem auto;
}

.roadmap-modal-content {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.roadmap-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.roadmap-modal-title {
    color: #a78bfa;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.roadmap-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.roadmap-modal-close:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.roadmap-modal-body {
    padding: 1.5rem;
}

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

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

.modal-section-title {
    color: #c4b5fd;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.modal-section-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

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

.modal-list li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.modal-list li:last-child {
    border-bottom: none;
}

.modal-list li::before {
    content: '▹';
    color: #8b5cf6;
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 1200px) {
    .roadmap-column {
        flex: 0 0 320px;
    }
}

@media (max-width: 992px) {
    .roadmap-column {
        flex: 0 0 300px;
    }

    .filter-pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .roadmap-column {
        flex: 0 0 280px;
    }

    .roadmap-modal-dialog {
        width: 95%;
        margin: 1rem auto;
    }

    .roadmap-modal-title {
        font-size: 1.25rem;
    }

    .roadmap-modal-body {
        padding: 1rem;
    }

    .modal-section-title {
        font-size: 0.9rem;
    }

    .card-header-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .card-priority {
        margin-left: 0;
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .roadmap-column {
        flex: 0 0 260px;
    }

    .roadmap-column-title {
        font-size: 1.1rem;
    }

    .filter-pill {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .card-description {
        font-size: 0.75rem;
    }

    .card-priority,
    .card-category,
    .card-status {
        font-size: 0.65rem;
    }

    .roadmap-modal-title {
        font-size: 1.1rem;
    }

    .roadmap-modal-close {
        font-size: 1.5rem;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .roadmap-board {
        gap: 1rem;
    }

    .roadmap-column {
        flex: 0 0 240px;
        padding: 0.75rem;
    }

    .roadmap-column-header {
        padding-bottom: 0.5rem;
    }

    .roadmap-column-title {
        font-size: 1rem;
    }

    .roadmap-column-count {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .roadmap-card {
        padding: 0.75rem;
    }

    .card-title {
        font-size: 0.85rem;
    }

    .modal-section {
        margin-bottom: 1rem;
    }
}
