/* Course Detail Page Styles */

/* Course Hero Section */


.course-hero {
    background: linear-gradient(47deg, rgba(255, 255, 255, 1) 0%, rgb(244 58 9 / 15%) 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: rgb(245 61 12);
}

.breadcrumb span {
    color: var(--text-primary);
}

.breadcrumb span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* Hero Content */
.course-hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.course-hero-text {
    color: var(--text-primary);
}

/* Badges */
.course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background: rgba(136, 136, 136, 0.2);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.badge-success {
    background: rgba(104, 211, 136, 0.3);
}

.badge-warning {
    background: rgba(255, 183, 102, 0.3);
}

.badge-info {
    background: rgba(59, 130, 246, 0.3);
}

.badge-secondary {
    background: rgba(156, 163, 175, 0.3);
}

.badge-featured {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 193, 7, 0.3) 100%);
}

/* Course Title */
.course-title {
    font-family: var(--font-primary-GEXB);
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 3px 2px 3px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.course-short-description {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* Course Meta */
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(253, 162, 92, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.meta-item i {
    font-size: 16px;
}

/* Price Block */
.course-action {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
}

.price-block {
    flex: 1;
}

.early-bird-price,
.regular-price,
.free-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.price-label {
    font-size: 18px;
    opacity: 0.9;
    /* text-shadow: 0 2px 2px  rgba(0, 0, 0, 0.5); */
}

.price-value {
    font-family: var(--font-primary-GEXB);
    font-size: 55px;
    line-height: 1;
    text-shadow: 0 2px 2px  rgba(0, 0, 0, 0.5);
}

.price-original {
    font-size: 24px;
    text-decoration: line-through;
    opacity: 0.6;
    text-shadow: 0 2px 2px  rgba(0, 0, 0, 0.5);
}

.early-bird-deadline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 12px;
    background: rgba(253, 162, 92, 0.2);
    border-radius: 20px;
    font-size: 14px;
}

.early-bird-deadline i {
    color: var(--text-primary);
}

/* Registration Button */
.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white !important;
    color: var(--color-brightly-orange) !important;
    border: 2px solid #f43a09 !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

/* Students Info */
.students-info {
    padding: 20px;
    background: rgba(253, 162, 92, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.students-count {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.available-spots {
    margin-bottom: 15px;
    font-size: 14px;
}

.available-spots strong {
    font-size: 18px;
    font-weight: 700;
}

.students-progress {
    margin-top: 10px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    transition: width 0.3s ease;
}

/* Hero Image */
.course-hero-image {
    position: relative;
}

.course-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.course-image-placeholder {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.course-image-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.5);
}

/* Schedule Card */
.schedule-card {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.schedule-card h3 {
    font-family: var(--font-primary-GSB);
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item i {
    font-size: 20px;
    color: var(--color-brightly-orange);
    margin-top: 3px;
}

.schedule-item .label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 3px;
}

.schedule-item .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Course Navigation */
.course-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.course-tabs {
    display: flex;
    gap: 30px;
    padding: 0;
    overflow-x: auto;
}

.tab-link {
    display: block;
    padding: 20px 0;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-link:hover {
    color: var(--color-brightly-orange);
}

.tab-link.active {
    color: var(--color-brightly-orange);
    border-bottom-color: var(--color-brightly-orange);
}

/* Course Content */
.course-content {
    padding: 60px 0;
    background: #f9fafb;
}

.course-content .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1420px;
}

.course-main {
    background: white;
    border-radius: 20px;
    padding: 40px;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

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

.content-section h2 {
    font-family: var(--font-primary-GSB);
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--color-text-primary);
}

.rich-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.rich-text h3 {
    font-family: var(--font-primary-GSB);
    font-size: 24px;
    margin: 30px 0 15px;
}

.rich-text p {
    margin-bottom: 20px;
}

.rich-text ul,
.rich-text ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.rich-text li {
    margin-bottom: 10px;
}

/* Documents Section */
.documents-intro {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}

.documents-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.document-block {
    background: #f9fafb;
    border-radius: 20px;
    padding: 30px;
    text-align-last: center;
}

.document-block h3 {
    font-family: var(--font-primary-GSB);
    font-size: 22px;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.document-description {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.document-preview {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.document-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-img {
    display: block;
    max-width: 400px;
    width: 100%;
    height: auto;
}

.document-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-preview:hover .document-overlay {
    opacity: 1;
}

.document-overlay i {
    color: white;
    font-size: 36px;
    margin-bottom: 10px;
}

.document-overlay span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.license-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.license-grid .document-preview {
    width: 100%;
}

.license-grid .document-img {
    width: 100%;
    max-width: none;
    height: 300px;
    object-fit: cover;
}


/* Instructors */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.instructor-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.instructor-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.instructor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
}

.instructor-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-brightly-orange) 0%, var(--color-grandpa-orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.instructor-photo-placeholder i {
    font-size: 50px;
    color: white;
}

.instructor-card h3 {
    font-family: var(--font-primary-GSB);
    font-size: 20px;
    margin-bottom: 5px;
}

.instructor-title {
    color: var(--color-brightly-orange);
    font-size: 14px;
    margin-bottom: 15px;
}

.instructor-bio {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.instructor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.instructor-tags .tag {
    padding: 4px 10px;
    background: #f3f4f6;
    border-radius: 15px;
    font-size: 12px;
    color: #6b7280;
}

/* Skills Section */
.skills-block {
    margin-bottom: 40px;
}

.skills-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary-GSB);
    font-size: 20px;
    margin-bottom: 20px;
}

.skills-block h3 i {
    color: var(--color-brightly-orange);
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.skills-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-live-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-brightly-orange);
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 25px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info h4 {
    font-family: var(--font-primary-GSB);
    font-size: 18px;
    margin-bottom: 5px;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.review-date {
    color: #9ca3af;
    font-size: 14px;
}

.review-text {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Sidebar */
.course-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-family: var(--font-primary-GSB);
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

/* Corporate Price */
.corporate-price {
    text-align: center;
    padding: 20px;
    background: #ff972e30;
    border-radius: 15px;
    margin-bottom: 20px;
}

.corporate-price .price-value {
    display: block;
    font-family: var(--font-primary-GEXB);
    font-size: 32px;
    color: var(--color-brightly-orange);
    margin-bottom: 5px;
}

.corporate-price .price-label {
    font-size: 14px;
    color: #6b7280;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.features-list li i {
    font-size: 20px;
    color: var(--color-brightly-orange);
    width: 24px;
}

/* Related Courses */
.related-courses {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-course {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 10px;
    margin: -10px;
    border-radius: 10px;
}

.related-course:hover {
    background: #f9fafb;
}

.related-course img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text-primary);
}

.related-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-brightly-orange);
}

/* Buttons */
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-brightly-orange);
    color: var(--color-brightly-orange);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--color-brightly-orange);
    color: white;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .course-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .course-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .course-content .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .course-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .course-title {
        font-size: 32px;
    }

    .course-short-description {
        font-size: 18px;
    }

    .price-value {
        font-size: 32px;
    }

    .course-tabs {
        padding: 0 15px;
    }

    .course-main {
        padding: 20px;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .sidebar-card {
        padding: 20px;
    }
}

/* Course Enrollment Modal Styles */
.enrollment-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: var(--color-brightly-orange);
    font-size: 24px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    color: var(--color-brightly-orange);
    background-color: #f8f9fa;
}

.modal-body {
    padding: 30px;
}

.course-info-modal {
    background: linear-gradient(270deg, #f43a096b 0%, #f2a68a42 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.course-info-modal h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
}

.course-meta-modal {
    display: flex;
    gap: 20px;
    margin: 0;
    font-size: 20px;
    opacity: 0.9;
}

.modal-price {
    font-weight: 600;
    font-size: 20px;
}

.enrollment-form {
    animation: slideUp 0.4s ease-out;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-brightly-orange);
    box-shadow: 0 0 0 3px rgba(244, 58, 9, 0.1);
}

.form-group input:required:invalid {
    border-color: #dc3545;
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 12px 24px;
    border: 2px solid var(--color-brightly-orange);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
}

.btn-cancel:hover {
    background: #e9ecef;
    color: #495057;
}



.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

.success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    color: #28a745;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.success-message p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    animation: slideUp 0.4s ease-out;
}

.loading-spinner i {
    font-size: 32px;
    color: var(--color-brightly-orange);
    margin-bottom: 20px;
}

.loading-spinner p {
    color: #6c757d;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .enrollment-modal {
        align-items: flex-start;
        padding: 20px 0;
    }

    .modal-content {
        width: 95%;
        margin-top: 20px;
        max-height: calc(100vh - 40px);
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .course-meta-modal {
        flex-direction: column;
        gap: 5px;
    }
}