﻿body {
    font-family: 'Roboto', sans-serif !important;
    background: #f9f9fc;
    color: #333;
    margin-left: 33px !important;
    margin-right: 35px !important;
}

.alert {
    display: contents !important;
    text-align: center;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    padding: 1rem;
    margin-top: -25px;
}

.container1 {
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Common Heading */
.common-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    color: #2a2a72;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

    .common-heading::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: #ff6f61;
    }

/* Left Content */
.content-wrapper {
    display: flex;
    justify-content: space-between !important;
    gap: 20px;
}

.left-content {
    flex: 2;
}

.left-content {
    list-style: none;
}

    .left-content li div {
        margin: 10px 0;
        color: #505050; /* Change text color to black */
        text-align: justify; /* Justify list items */
        font-size: 15px;
        list-style: none !important;
    }

        .left-content li div::before {
            content: "✔";
            font-size: 18px;
            font-weight: bold;
            background: linear-gradient(45deg, #FF5733, #FF8C00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-right: 4px;
        }



.heading-item {
    margin-bottom: 20px;
    text-align: justify;
}

    .heading-item h3 {
        font-size: 18px;
        color: #2a2a72;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
    }

        .heading-item h3::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            width: 30px;
            height: 3px;
            background: #ff6f61;
        }

    .heading-item p {
        font-size: 14px;
        text-align: justify;
        line-height: 1.6;
        color: #555;
    }

/* Right Content */
.right-content {
    flex: 1;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    max-height: 400px;
    overflow-y: auto;
}

.details {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .details li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .details li i {
            font-size: 18px;
            color: #ff6f61;
        }

        .details li strong {
            color: #2a2a72;
            flex: 1;
        }

        .details li span {
            color: #505050;
            font-size: 15px;
        }

        .details li:hover {
            background: #eaf0ff;
            border-radius: 5px;
            padding: 5px;
            transition: background 0.3s;
        }

a:hover {
    text-decoration: none !important;
}



/* Scrollbar Styling */
.right-content::-webkit-scrollbar {
    width: 8px;
}

.right-content::-webkit-scrollbar-thumb {
    background: #ff6f61;
    border-radius: 5px;
}

    .right-content::-webkit-scrollbar-thumb:hover {
        background: #d8554f;
    }

#uniqueCourseModalTitle h5 {
    text-align: center !important;
}

@media (max-width: 768px) {
    .common-heading {
        text-align: center; /* Center-align for better readability */
        margin-bottom: 20px; /* Add spacing below the heading */
    }

    .content-wrapper {
        flex-direction: column; /* Stack the content vertically */
    }

    .right-content {
        order: 1; /* Show right content first within content-wrapper */
        flex: 1;
        margin-bottom: 20px;
    }

    .left-content {
        order: 2; /* Show left content after right content */
        flex: 1;
    }

    .form-control {
        height: auto;
    }
}





.form_container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 3px;
}

.form_control input, .form_control select, .textarea_control textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form_control select {
    width: 100%;
    height: 40px;
    padding: 10px;
    border: 1px solid #ccc !important;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    outline: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .form_control input:focus, .form_control select:focus, .textarea_control textarea:focus {
        box-shadow: 0px 4px 8px rgba(99, 179, 237, 0.8);
        transform: scale(1.02);
    }


.modal-header {
    border-bottom: none;
}

/* Animated submit button */
#btnUniqueSubmit:hover {
    background: linear-gradient(45deg, #ff6a00, #ee0979);
    box-shadow: 0px 5px 15px rgba(255, 100, 0, 0.5);
    transform: scale(1.1);
    animation: pulse 0.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0px 5px 15px rgba(255, 100, 0, 0.5);
    }

    50% {
        box-shadow: 0px 10px 25px rgba(255, 100, 0, 0.7);
    }

    100% {
        box-shadow: 0px 5px 15px rgba(255, 100, 0, 0.5);
    }
}



.heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 6px;
    animation: fadeIn 1s ease-in-out;
}

.btn {
    margin-bottom: 1rem;
}

.submit-btn {
    position: relative;
    padding: 3px 3px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .submit-btn .btn-text {
        display: inline-block;
        transition: opacity 0.3s ease;
    }

    .submit-btn .spinner {
        display: none;
        width: 20px;
        height: 20px;
        border: 3px solid transparent;
        border-top: 3px solid #fff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


/*--------------------------- form loading -------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex; /* Using Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    /*top:50px;
    left:50px;*/
}

.rotating-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: spin 5s linear infinite;
    top: -60px;
    left: -60px;
}

    .rotating-circle:nth-child(1) {
        border-top: 4px solid #6aaf08;
        animation-duration: 3s;
    }

    .rotating-circle:nth-child(2) {
        border-bottom: 4px solid black;
        animation-duration: 2s;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.loader-container img {
    position: absolute;
    /*   top: 0;
    left: 30%; */
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    animation: fadeBounce 2s infinite alternate;
}

/* Simple fade and bounce effect */
@keyframes fadeBounce {
    0% {
        opacity: 0.5; /* Start with low opacity */
        transform: translate(-50%, -50%) translateY(-10px); /* Move image up */
    }

    100% {
        opacity: 1; /* Full opacity */
        transform: translate(-50%, -50%) translateY(10px); /* Move image down */
    }
}