/* ===== Bootcamps Page - Modern Coderz Design ===== */

:root {
    --coderz-primary: #1E88E5;
    --coderz-primary-dark: #1565C0;
    --coderz-primary-light: #42A5F5;
    --coderz-secondary: #3E4756;
    --coderz-secondary-dark: #2D3748;
    --coderz-accent: #7C3AED;
    --coderz-gradient-start: #0a1628;
    --coderz-gradient-mid: #1e3a5f;
    --coderz-gradient-end: #0d1e36;
}

/* Hero Section - Styled inline in View (synced with Webinars premium design) */
/* All .bootcamps-hero / .bc-hero styles are now in Bootcamps/Index.cshtml @section Styles */

/* Filters Section */
.bootcamps-filters-section {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bootcamps-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.status-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 50px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.status-tab:hover {
    background: #e2e8f0;
    color: var(--coderz-secondary-dark);
}

.status-tab.active {
    background: linear-gradient(135deg, var(--coderz-primary) 0%, var(--coderz-primary-dark) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.status-tab .count {
    padding: 0.15rem 0.55rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    font-size: 0.75rem;
}

.status-tab:not(.active) .count {
    background: rgba(0, 0, 0, 0.08);
}

.bootcamp-search-wrapper {
    position: relative;
    min-width: 300px;
}

.bootcamp-search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.bootcamp-search-input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.bootcamp-search-input:focus {
    outline: none;
    border-color: var(--coderz-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
}

/* Content Section */
.bootcamps-content-section {
    padding: 3.5rem 0 6rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    min-height: 60vh;
}

/* Bootcamps Grid */
.bootcamps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

/* Bootcamp Card - Modern Design */
.bootcamp-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.bootcamp-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.bootcamp-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.bootcamp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bootcamp-card:hover .bootcamp-card-image img {
    transform: scale(1.08);
}

/* Card Overlay Gradient */
.bootcamp-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

.bootcamp-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.bootcamp-status-badge.status-active {
    background: linear-gradient(135deg, var(--coderz-primary) 0%, var(--coderz-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
}

.bootcamp-status-badge.status-upcoming {
    background: linear-gradient(135deg, var(--coderz-accent) 0%, #6d28d9 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.bootcamp-status-badge.status-completed {
    background: rgba(100, 116, 139, 0.9);
    color: #fff;
}

.bootcamp-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.85rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.bootcamp-level-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.bootcamp-level-badge.level-beginner {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.bootcamp-level-badge.level-intermediate {
    background: rgba(30, 136, 229, 0.9);
    color: #fff;
}

.bootcamp-level-badge.level-advanced {
    background: rgba(124, 58, 237, 0.9);
    color: #fff;
}

.bootcamp-card-body {
    padding: 1.75rem;
}

.bootcamp-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(30, 136, 229, 0.08);
    color: var(--coderz-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.bootcamp-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--coderz-secondary-dark);
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.bootcamp-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.bootcamp-title a:hover {
    color: var(--coderz-primary);
}

.bootcamp-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bootcamp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bootcamp-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #64748b;
}

.bootcamp-meta-item i {
    color: var(--coderz-primary);
    font-size: 0.9rem;
}

.bootcamp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.bootcamp-price-tag {
    display: flex;
    flex-direction: column;
}

.bootcamp-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--coderz-primary);
}

.bootcamp-old-price {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.bootcamp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--coderz-primary) 0%, var(--coderz-primary-dark) 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.bootcamp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.35);
    color: #fff;
}

/* Empty State */
.bootcamps-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.bootcamps-empty-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bootcamps-empty-icon i {
    font-size: 2.75rem;
    color: var(--coderz-primary);
}

.bootcamps-empty-state h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--coderz-secondary-dark);
    margin-bottom: 0.85rem;
}

.bootcamps-empty-state p {
    color: #64748b;
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

/* ===== Details Page ===== */

.bootcamp-details-hero {
    position: relative;
    padding: 5rem 0 3.5rem;
    background: linear-gradient(135deg, #36454F 0%, #157EEE 100%);
    overflow: hidden;
    margin-top: 60px;
}

.bootcamp-details-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(30, 136, 229, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.bootcamp-details-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.bootcamp-details-main {
    position: relative;
    z-index: 1;
}

.bootcamp-details-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.bootcamp-details-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.bootcamp-details-breadcrumb a:hover {
    color: #fff;
}

.bootcamp-details-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.bootcamp-details-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.bootcamp-details-status.active {
    background: linear-gradient(135deg, var(--coderz-primary) 0%, var(--coderz-primary-dark) 100%);
    color: #fff;
}

.bootcamp-details-status.upcoming {
    background: linear-gradient(135deg, var(--coderz-accent) 0%, #6d28d9 100%);
    color: #fff;
}

.bootcamp-details-status.completed {
    background: rgba(100, 116, 139, 0.9);
    color: #fff;
}

.bootcamp-details-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.bootcamp-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bootcamp-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.bootcamp-detail-meta-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 136, 229, 0.2);
    color: var(--coderz-primary-light);
    border-radius: 12px;
    font-size: 0.95rem;
}

/* Sidebar Card */
.bootcamp-details-sidebar {
    position: relative;
    z-index: 1;
}

.bootcamp-sidebar-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.bootcamp-sidebar-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.bootcamp-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bootcamp-sidebar-body {
    padding: 1.75rem;
}

.bootcamp-sidebar-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bootcamp-sidebar-price .price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--coderz-primary);
}

.bootcamp-sidebar-price .old-price {
    font-size: 1.25rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.bootcamp-sidebar-price .discount {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.bootcamp-enroll-btn {
    display: block;
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--coderz-primary) 0%, var(--coderz-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.bootcamp-enroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 136, 229, 0.35);
    color: #fff;
}

.bootcamp-enroll-btn.completed {
    background: #64748b;
    cursor: not-allowed;
}

.bootcamp-sidebar-info {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.bootcamp-sidebar-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f8fafc;
}

.bootcamp-sidebar-info-item:last-child {
    border-bottom: none;
}

.bootcamp-sidebar-info-item .label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.bootcamp-sidebar-info-item .label i {
    color: var(--coderz-primary);
}

.bootcamp-sidebar-info-item .value {
    font-weight: 600;
    color: var(--coderz-secondary-dark);
    font-size: 0.9rem;
}

/* Content Section */
.bootcamp-content-section {
    padding: 4rem 0 5rem;
    background: #f8fafc;
}

.bootcamp-content-main {
    max-width: 800px;
}

.bootcamp-description-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.bootcamp-description-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coderz-secondary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bootcamp-description-card h2 i {
    color: var(--coderz-primary);
}

.bootcamp-description-content {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.85;
}

.bootcamp-description-content p {
    margin-bottom: 1rem;
}

/* Curriculum/Modules */
.bootcamp-curriculum-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.bootcamp-curriculum-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coderz-secondary-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bootcamp-curriculum-card h2 i {
    color: var(--coderz-primary);
}

.bootcamp-module {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bootcamp-module:hover {
    border-color: rgba(30, 136, 229, 0.3);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.08);
}

.bootcamp-module:last-child {
    margin-bottom: 0;
}

.bootcamp-module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    cursor: pointer;
    transition: background 0.3s;
}

.bootcamp-module-header:hover {
    background: #f1f5f9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bootcamp-details-container {
        grid-template-columns: 1fr;
    }

    .bootcamp-details-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .bootcamps-filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .status-tabs {
        justify-content: center;
    }

    .bootcamp-search-wrapper {
        min-width: 100%;
    }

    .bootcamps-grid {
        grid-template-columns: 1fr;
    }
}