/* ===== Webinars Page - Premium Design ===== */

/* Hero Section */
.webinars-hero {
    position: relative;
    padding: 7rem 0 5rem;
    background: linear-gradient(135deg, #36454F 0%, #1a5faa 50%, #157EEE 100%);
    overflow: hidden;
    margin-top: 60px;
    isolation: isolate;
}

/* Mesh gradient overlay */
.webinars-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(21, 126, 238, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 85% 15%, rgba(94, 96, 206, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(21, 126, 238, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Grid pattern overlay */
.webinars-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Animated glow orb */
.webinars-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(21, 126, 238, 0.15) 0%, rgba(94, 96, 206, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    animation: hero-orb-float 8s ease-in-out infinite;
    z-index: 1;
}

/* Floating particles */
.webinars-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.webinars-hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: particle-drift linear infinite;
}

.webinars-hero-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-duration: 12s;
    animation-delay: 0s;
    width: 3px;
    height: 3px;
}

.webinars-hero-particles span:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-duration: 15s;
    animation-delay: 2s;
    width: 5px;
    height: 5px;
}

.webinars-hero-particles span:nth-child(3) {
    left: 55%;
    top: 30%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.webinars-hero-particles span:nth-child(4) {
    left: 75%;
    top: 70%;
    animation-duration: 13s;
    animation-delay: 1s;
    width: 6px;
    height: 6px;
}

.webinars-hero-particles span:nth-child(5) {
    left: 90%;
    top: 40%;
    animation-duration: 11s;
    animation-delay: 3s;
    width: 3px;
    height: 3px;
}

.webinars-hero-particles span:nth-child(6) {
    left: 45%;
    top: 80%;
    animation-duration: 14s;
    animation-delay: 5s;
}

@keyframes particle-drift {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120px) translateX(30px) scale(0.5);
        opacity: 0;
    }
}

@keyframes hero-orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translate(-20px, 15px) scale(1.05);
        opacity: 0.8;
    }

    50% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.7;
    }

    75% {
        transform: translate(-10px, -20px) scale(1.03);
        opacity: 0.9;
    }
}

/* Hero content */
.webinars-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Badge */
.webinars-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    letter-spacing: 0.02em;
}

.webinars-hero-badge i {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Title */
.webinars-hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.webinars-hero-title span {
    position: relative;
    color: #fff;
}

.webinars-hero-title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-reveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

@keyframes underline-reveal {
    to {
        transform: scaleX(1);
    }
}

/* Subtitle */
.webinars-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

/* Stats */
.webinars-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s backwards;
}

.webinar-stat-item {
    text-align: center;
    padding: 1.5rem 2.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
}

.webinar-stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.webinar-stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.webinar-stat-item:hover::before {
    opacity: 1;
}

.webinar-stat-value {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.webinar-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Hero animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Hero ===== */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .webinars-hero {
        padding: 6rem 0 4rem;
    }

    .webinars-hero-content {
        max-width: 700px;
    }

    .webinars-hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .webinars-hero-subtitle {
        font-size: 1.05rem;
        max-width: 560px;
    }

    .webinars-stats {
        gap: 1.25rem;
    }

    .webinar-stat-item {
        padding: 1.25rem 1.75rem;
        min-width: 140px;
    }

    .webinar-stat-value {
        font-size: 2.25rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .webinars-hero {
        padding: 5rem 0 3.5rem;
    }

    .webinars-hero-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1.1rem;
        margin-bottom: 1.5rem;
    }

    .webinars-hero-title {
        font-size: 1.85rem;
        margin-bottom: 1rem;
        line-height: 1.25;
    }

    .webinars-hero-title span::after {
        height: 3px;
    }

    .webinars-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.7;
        max-width: 480px;
    }

    .webinars-stats {
        gap: 0.75rem;
    }

    .webinar-stat-item {
        padding: 1rem 1.25rem;
        min-width: 120px;
        border-radius: 14px;
    }

    .webinar-stat-value {
        font-size: 1.85rem;
    }

    .webinar-stat-label {
        font-size: 0.75rem;
    }

    /* Hide some particles on mobile for perf */
    .webinars-hero-particles span:nth-child(n+4) {
        display: none;
    }

    .webinars-hero::after {
        width: 300px;
        height: 300px;
        top: -20%;
        right: -15%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .webinars-hero {
        padding: 4rem 0 2.5rem;
    }

    .webinars-hero-content {
        padding: 0 1rem;
    }

    .webinars-hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }

    .webinars-hero-badge i {
        font-size: 0.8rem;
    }

    .webinars-hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        letter-spacing: -0.01em;
    }

    .webinars-hero-title span::after {
        height: 2px;
        bottom: 0;
    }

    .webinars-hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.75rem;
        line-height: 1.65;
    }

    .webinars-stats {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
    }

    .webinar-stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1.25rem;
        min-width: 100%;
        border-radius: 12px;
    }

    .webinar-stat-value {
        font-size: 1.6rem;
        order: 2;
    }

    .webinar-stat-label {
        font-size: 0.8rem;
        margin-top: 0;
        text-align: left;
        order: 1;
    }

    /* Hide glow orb on small screens */
    .webinars-hero::after {
        display: none;
    }

    /* Simplify particles */
    .webinars-hero-particles span:nth-child(n+3) {
        display: none;
    }
}

/* Ultra small screens */
@media (max-width: 360px) {
    .webinars-hero {
        padding: 3.5rem 0 2rem;
    }

    .webinars-hero-title {
        font-size: 1.3rem;
    }

    .webinars-hero-subtitle {
        font-size: 0.8rem;
    }

    .webinar-stat-item {
        padding: 0.85rem 1rem;
    }

    .webinar-stat-value {
        font-size: 1.4rem;
    }

    .webinar-stat-label {
        font-size: 0.75rem;
    }
}

/* Filters Section */
.webinars-filters-section {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.webinars-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.65rem 1.25rem;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 50px;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.status-tab:hover {
    background: #e5e7eb;
    color: #374151;
}

.status-tab.active {
    background: linear-gradient(135deg, #157EEE 0%, #4A9DF4 100%);
    color: #fff;
    border-color: transparent;
}

.status-tab .count {
    padding: 0.15rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
}

.status-tab:not(.active) .count {
    background: rgba(0, 0, 0, 0.08);
}

.webinar-search-wrapper {
    position: relative;
    min-width: 280px;
}

.webinar-search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.webinar-search-input {
    width: 100%;
    padding: 0.75rem 2.75rem 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: #f9fafb;
}

.webinar-search-input:focus {
    outline: none;
    border-color: #157EEE;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(21, 126, 238, 0.1);
}

/* Content Section */
.webinars-content-section {
    padding: 3rem 0 5rem;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    min-height: 60vh;
}

.webinars-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.webinars-count {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.webinars-count span {
    color: #157EEE;
}

/* Webinars Grid */
.webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

/* Webinar Card */
.webinar-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.webinar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.webinar-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.webinar-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.webinar-card:hover .webinar-card-image img {
    transform: scale(1.1);
}

.webinar-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.webinar-status-badge.status-live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    animation: live-pulse 2s ease-in-out infinite;
}

.webinar-status-badge.status-live::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.webinar-status-badge.status-upcoming {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.webinar-status-badge.status-ended {
    background: rgba(107, 114, 128, 0.9);
    color: #fff;
}

.webinar-camp-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(21, 126, 238, 0.9);
    backdrop-filter: blur(5px);
    color: #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.webinar-date-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    z-index: 2;
}

.webinar-date-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.webinar-date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.webinar-card-body {
    padding: 1.5rem;
}

.webinar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.webinar-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.webinar-meta-item i {
    color: #157EEE;
    font-size: 0.9rem;
}

.webinar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.webinar-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.webinar-title a:hover {
    color: #157EEE;
}

.webinar-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.webinar-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.webinar-instructor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.webinar-instructor-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.webinar-instructor-info {
    display: flex;
    flex-direction: column;
}

.webinar-instructor-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

.webinar-instructor-title {
    font-size: 0.75rem;
    color: #9ca3af;
}

.webinar-price-tag {
    text-align: left;
}

.webinar-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #157EEE;
}

.webinar-free-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.webinar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #157EEE 0%, #4A9DF4 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.webinar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 126, 238, 0.35);
}

/* Empty State */
.webinars-empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.webinars-empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(21, 126, 238, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webinars-empty-icon i {
    font-size: 2.5rem;
    color: #157EEE;
}

.webinars-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.webinars-empty-state p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Details Page ===== */

.webinar-details-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #36454F 0%, #157EEE 100%);
    overflow: hidden;
    margin-top: 60px;
}

.webinar-details-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 70%, rgba(21, 126, 238, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(94, 96, 206, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.webinar-details-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.webinar-details-main {
    position: relative;
    z-index: 1;
}

.webinar-details-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.webinar-details-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.webinar-details-breadcrumb a:hover {
    color: #fff;
}

.webinar-details-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.webinar-details-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.webinar-details-status.live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    animation: live-pulse 2s ease-in-out infinite;
}

.webinar-details-status.live::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.webinar-details-status.upcoming {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.webinar-details-status.ended {
    background: rgba(107, 114, 128, 0.9);
    color: #fff;
}

.webinar-details-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.webinar-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.webinar-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.webinar-detail-meta-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 126, 238, 0.2);
    color: #157EEE;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* Sidebar Card */
.webinar-details-sidebar {
    position: relative;
    z-index: 1;
}

.webinar-sidebar-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.webinar-sidebar-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.webinar-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webinar-sidebar-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(21, 126, 238, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.webinar-sidebar-play:hover {
    background: #157EEE;
    transform: translate(-50%, -50%) scale(1.1);
}

.webinar-sidebar-body {
    padding: 1.5rem;
}

.webinar-sidebar-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.webinar-sidebar-price .price {
    font-size: 2.25rem;
    font-weight: 800;
    color: #157EEE;
}

.webinar-sidebar-price .free-tag {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
}

.webinar-register-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #157EEE 0%, #4A9DF4 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.webinar-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(21, 126, 238, 0.35);
}

.webinar-register-btn.ended {
    background: #6b7280;
    cursor: not-allowed;
}

.webinar-sidebar-info {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

.webinar-sidebar-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f9fafb;
}

.webinar-sidebar-info-item:last-child {
    border-bottom: none;
}

.webinar-sidebar-info-item .label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.webinar-sidebar-info-item .label i {
    color: #157EEE;
}

.webinar-sidebar-info-item .value {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

/* Content Section */
.webinar-content-section {
    padding: 4rem 0 5rem;
    background: #f9fafb;
}

.webinar-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.webinar-description-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.webinar-description-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.webinar-description-card h2 i {
    color: #157EEE;
}

.webinar-description-content {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
}

.webinar-description-content p {
    margin-bottom: 1rem;
}

/* Instructor Card */
.webinar-instructor-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.webinar-instructor-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.webinar-instructor-card h2 i {
    color: #157EEE;
}

.webinar-instructor-profile {
    display: flex;
    gap: 1.5rem;
}

.webinar-instructor-avatar-lg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f3f4f6;
}

.webinar-instructor-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.webinar-instructor-details .title {
    font-size: 0.9rem;
    color: #157EEE;
    margin-bottom: 0.75rem;
}

.webinar-instructor-details .bio {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Related Webinars */
.related-webinars-section {
    margin-top: 2rem;
}

.related-webinars-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.related-webinars-section h2 i {
    color: #157EEE;
}

.related-webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Non-hero elements */
@media (max-width: 1024px) {

    .webinar-details-container,
    .webinar-content-grid {
        grid-template-columns: 1fr;
    }

    .webinar-details-sidebar {
        order: -1;
    }

    .webinars-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {

    .webinars-filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .status-tabs {
        justify-content: center;
    }

    .webinar-search-wrapper {
        min-width: 100%;
    }

    .webinars-grid {
        grid-template-columns: 1fr;
    }

    .webinar-card-image {
        height: 180px;
    }

    .webinar-instructor-profile {
        flex-direction: column;
        text-align: center;
    }

    .webinar-instructor-avatar-lg {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .status-tabs {
        flex-direction: column;
    }

    .status-tab {
        justify-content: center;
    }

    .webinar-details-title {
        font-size: 1.5rem;
    }

    .webinar-details-meta {
        gap: 1rem;
    }
}