/* Course Content Styles */
.course-content {
    padding: 0;
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.search-wrapper i {
    color: rgba(0, 0, 0, 0.3);
    font-size: 1.25rem;
}

.city-search {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.875rem;
}

.table-container {
    overflow-x: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 16px;
    padding: 10px;
}

.timing-card {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    height: fit-content;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 1px 1px 17px 0 rgb(62 94 192 / 22%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(to right, #314EA9, #446AE1);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    &:hover {
        transform: translateY(-6px) scale(1.02);
    }

    &:hover::before {
        opacity: 1;
    }

    .card-actions {
        display: flex;
        gap: 8px;
        padding: 12px;

        .card-btn {
            flex: 1;
            height: 26px;
            border: none;
            border-radius: 70px;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            background: #fff;
            color: #3E5EC0;
            border: 1px solid #3E5EC0;

            &.download-btn {
                background: #3E5EC0;
                color: #fff;
                border: 1px solid #3E5EC0;
            }

            &:hover {
                background: linear-gradient(135deg, #4E71D4, #324B9A);
                color: #fff;
                transform: scale(1.05);

            }
        }
    }

    .card-content {
        background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
        padding: 12px;

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f0f0f0;

            div {
                display: flex;
                align-items: center;
                gap: 6px;
                svg{
                    color:#3E5EC0;
                    font-size:14px;
                }
            }

            h3 {
                color: #253a7b;
                font-size: 14px;
                font-weight: 600;
                margin: 0;
            }

            .price {
                color: #253a7b;
                font-weight: 600;
                font-size: 13px;
            }

        }

        .card-details {
            display: flex;
            align-items: center;
            gap: 15px;

            .detail-item {
                display: flex;
                gap: 5px;
                align-items: center;

                img {
                    width: 18px;
                    height: 18px;
                }
            }

            .label {
                color: #6f6f6f;
                font-size: 12px;
                font-weight: 500;
            }

            .value {
                color: #253a7b;
                font-size: 11px;
                font-weight: 600;
            }
        }
    }
}
/* Base Toast */
/* Base Toast */
.toast-custom {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #3E5EC0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 36px 56px;
    border-radius: 14px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 22px;
    max-width: 90%;               /* keep inside screen on mobile */
    width: fit-content;
    text-align: left;
    word-break: break-word;       /* break long words instead of overflowing */
}

.toast-custom.show {
    opacity: 1;
}

/* Toast text container */
.toast-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #fff;
}

.toast-main {
    font-weight: bold;
    font-size: 26px;
}

.toast-sub {
    font-size: 18px;
    opacity: 0.9;
}

/* Icon inside toast */
.toast-custom i {
    font-size: 50px;
}

/* Close button */
.toast-custom .close-btn {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* Variants */
.toast-success {
    background-color: #007aff;
}

.toast-error {
    background-color: #e63946;
}

/* 📱 Mobile adjustments */
@media (max-width: 600px) {
    .toast-custom {
        flex-direction: column;      /* stack icon above text on very small screens */
        text-align: center;
        padding: 20px 24px;           /* reduce padding */
        gap: 12px;
        font-size: 18px;               /* smaller text */
    }

    .toast-main {
        font-size: 20px;
    }

    .toast-sub {
        font-size: 16px;
    }

    .toast-custom i {
        font-size: 40px;               /* slightly smaller icon */
    }

    .toast-custom .close-btn {
        top: 10px;
        right: 12px;
        font-size: 22px;
    }
}
.toast-icon {
    font-size: 50px;           /* desktop icon size */
    line-height: 1;
    color: #fff;               /* default color, can override per type */
}

.toast-success .toast-icon {
    color: #00ff7f;            /* green for success */
}

.toast-error .toast-icon {
    color: #ff4d4f;            /* red for error */
}

@media (max-width: 600px) {
    .toast-icon {
        font-size: 40px;       /* smaller on mobile */
    }
}



.overview-content {
    display: -webkit-flex;
    flex-direction: column;
    padding-top: 70px;
    color: #6f6f6f;

    ul {
        color: #6f6f6f;
        flex: 1;
        list-style: disc !important;
        width: 100%;
        display: -webkit-flex;
        flex-direction: column;
        gap: 10px;
        list-style-position: inside;
        /*margin: 1rem 0 !important;*/
    }

    ol {
        list-style-position: inside;
        padding-inline: 20px !important;
    }

    h3 {
        margin-block: 16px;
    }

    h2 {
        color: #3E5EC0;
        font-size: 32px;
    }

    .course-title {
        font-weight: 700;
        color: #134e88;
        font-size: 32px;
        line-height: 36px;
    }

    .group-1 {

        h2,
        h3,
        h4 {
            font-weight: 700 !important;
            color: #134e88 !important;
        }
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .overview-content {
        h2 {
            color: #3E5EC0;
            font-size: 26px;
        }
    }
}