.course-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(131, 80, 239, 0.02) 0%, rgba(148, 163, 184, 0.02) 100%);
    border: 1px solid rgba(131, 80, 239, 0.1);
}

.course-card:hover {
    box-shadow: 0 20px 40px rgba(131, 80, 239, 0.15);
    border-color: rgba(131, 80, 239, 0.2);
}

.course-card .card-img-top {
    border-radius: 0;
    transition: transform 0.3s ease;
}

.course-card:hover .card-img-top {
    transform: scale(1.05);
}

.course-card .position-relative {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.badge-mode {
    background: linear-gradient(135deg, #8350ef 0%, #a855f7 100%);
    color: white;
    font-weight: 600;
    padding: 6px 12px;
    font-size: 0.75rem;
}

.badge-type {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    font-weight: 600;
    padding: 6px 12px;
    font-size: 0.75rem;
}

.price-badge {
    background: linear-gradient(135deg, #8350ef 0%, #7c3aed 100%);
    color: white;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(131, 80, 239, 0.3);
}

.course-title a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.course-title a:hover {
    color: #8350ef;
}

.instructor-name {
    color: #8350ef;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.instructor-name:hover {
    color: #7c3aed;
}

.course-stats {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

.course-stats i {
    color: #8350ef;
}

.btn-explore {
    background: linear-gradient(135deg, #8350ef 0%, #7c3aed 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(131, 80, 239, 0.3);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
}

.course-description {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.9rem;
}

.instructor-avatar {
    border: 2px solid #8350ef;
    transition: transform 0.2s ease;
}


.no-courses-message {
    background: linear-gradient(135deg, rgba(131, 80, 239, 0.05) 0%, rgba(148, 163, 184, 0.05) 100%);
    border: 2px dashed rgba(131, 80, 239, 0.2);
    border-radius: 12px;
    padding: 40px 20px;
    color: #64748b;
    font-size: 1.1rem;
}


.badge-camp {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 600;
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* Modern Breadcrumbs */
.breadcrumb-nav {
    padding: 16px 20px;
    margin-bottom: 2rem !important;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    color: #64748b;
}

.breadcrumb-home {
    background: linear-gradient(135deg, #8350ef 0%, #7c3aed 100%);
    color: white !important;
    box-shadow: 0 2px 8px rgba(131, 80, 239, 0.2);
}

.breadcrumb-home:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(131, 80, 239, 0.3);
    color: white !important;
}

.breadcrumb-parent {
    background: rgba(131, 80, 239, 0.1);
    color: #8350ef;
    border: 1px solid rgba(131, 80, 239, 0.2);
}

.breadcrumb-parent:hover {
    background: rgba(131, 80, 239, 0.15);
    color: #7c3aed;
    transform: translateY(-1px);
}

.breadcrumb-current {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #475569;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: #94a3b8;
    font-size: 0.8rem;
}

.breadcrumb-separator i {
    font-size: 1rem;
}

/* RTL Support */
html[dir="rtl"] .breadcrumb-modern {
    flex-direction: row-reverse;
}

html[dir="rtl"] .breadcrumb-separator i {
    transform: scaleX(-1);
}

html[dir="rtl"] .breadcrumb-link {
    flex-direction: row-reverse;
}

html[dir="rtl"] .breadcrumb-link i {
    margin-left: 4px;
    margin-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 12px 16px;
        margin-bottom: 1.5rem !important;
    }
    
    .breadcrumb-link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .breadcrumb-current {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .breadcrumb-modern {
        gap: 6px;
    }
}

.enroll-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.enroll-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.enroll-btn:active {
    background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 100%) !important;
    color: white !important;
    transform: translateY(0);
}

.enroll-btn:focus {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

/* Auth Modal Button Styling */
#loginModal .btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

#loginModal .btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.auth-signup-btn {
    color: #7c3aed !important;
    border-color: #7c3aed !important;
    transition: all 0.3s ease;
}

.auth-signup-btn:hover {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    color: white !important;
}

.auth-signup-btn:focus {
    color: #7c3aed !important;
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

/* ==============================
   Simple Amenities Modal Styling
   ============================== */

/* Modal Content */
.simple-amenities-modal {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Modal Header */
.simple-modal-header {
    background: linear-gradient(135deg, #8350ef 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 12px 12px 0 0;
}

.simple-modal-header .modal-title {
    color: white;
    font-weight: 600;
}

/* Course Info */
.simple-course-info {
    background: linear-gradient(135deg, rgba(131, 80, 239, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(131, 80, 239, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.simple-course-info .fw-semibold {
    color: #7c3aed !important;
}

/* Amenities List */
.simple-amenities-list {
    max-height: 400px;
    overflow-y: auto;
}

.simple-amenity-item {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.simple-amenity-item:hover {
    border-color: rgba(131, 80, 239, 0.2);
    background: rgba(131, 80, 239, 0.02);
}

.amenity-name {
    color: #1e293b;
    font-size: 1rem;
}

.amenity-price {
    color: #7c3aed;
    font-size: 0.9rem;
}

.amenity-details {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.amenity-total {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenity-total .fw-bold {
    color: #7c3aed !important;
}

/* Form Controls */
.form-check-input:checked {
    background-color: #8350ef;
    border-color: #8350ef;
}

.form-control:focus {
    border-color: #8350ef;
    box-shadow: 0 0 0 0.2rem rgba(131, 80, 239, 0.25);
}

/* Total Section */
.simple-total-section {
    background: linear-gradient(135deg, rgba(131, 80, 239, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(131, 80, 239, 0.1) !important;
    border-radius: 8px;
    padding: 1rem;
}

.simple-total-section .text-primary {
    color: #7c3aed !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #8350ef 0%, #7c3aed 100%);
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(131, 80, 239, 0.3);
}

.btn-outline-secondary:hover {
    background-color: #f8fafc;
    border-color: #8350ef;
    color: #8350ef;
}

/* Responsive */
@media (max-width: 768px) {
    .simple-amenities-list {
        max-height: 300px;
    }
    
    .simple-amenity-item {
        padding: 0.75rem;
    }
}
