/* General Styles */
body {
    
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #14271e, #090e0e);
    margin: 0;
    padding: 0;
    text-align: center;
}

.container {
    max-width: 600px;
    margin: 50px auto;
   
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);

    background: linear-gradient(to right, #5f989f61, #668b69);
    
    
}

h2 {
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: #008CBA;
}

.btn-secondary:hover {
    background-color: #007bb5;
}

#upload-course-btn {
    display: none;
}




/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    font-weight: bold;
    border: 5px;
    margin-top: 5px;
    padding-top: 20px;
    margin-bottom: 2.5px;
    padding-bottom: 3.5px;
    border-top: none;
}

input, textarea {
    width: 90%;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 15px 0;
    border: 4px solid #8fc3c0;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 5px 10px rgba(5, 7, 2, 0.2);;
}

input[type="file"] {
    border: none;
}

button {
    background-color: #33a183;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 25px;
    transition: background 0.3s;
}

button:hover {
    background-color: #17452f;
}




/* Progress Bar */
progress {
    background-color: red;
    color: maroon;
    width: 90%;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #4f0404;
    background: linear-gradient(to right, #8662ad, #6a0707); /* Dark green-black gradient */
    box-shadow: 14px 5px 15px #00A65E, 7px 5px 30px rgba(255, 255, 0, 0.4); /* Golden green glow */
    animation: progressGlow 2s infinite linear, glowingEffect 1.5s infinite alternate ease-in-out;
}


.progress-bar {
    background: teal;
    background-color: red;
    color: orange;
}

.progress-indicator {
    background: linear-gradient(to right, yellow, black); /* Mid yellow-black gradient */
    border: 0.25px solid black;
    border-radius: 25px;
}


/* Progress Bar Glowing Animation */
@keyframes progressGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Outer Glowing Effect */
@keyframes glowingEffect {
    0% { box-shadow: 0px 0px 5px #00A65E, 0px 0px 10px rgba(255, 40, 255, 0.2); }
    100% { box-shadow: 0px 0px 15px #00A65E, 0px 0px 30px rgba(255, 255, 0, 0.4); }
}





.module {
    background-color: #9ac9c9;
    margin-top: 15px;
    padding-top: 10px;
}

.module-section {
    margin-bottom: 20px;
    padding: 10px;
    background: #dfe7fd;
    border-radius: 8px;
}
    
    
.lecture {    
    background: #ffffff;
    padding: 35px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 5px solid #356539; 
    margin-top: 25px;
}


/* Loading Message */
.wave-loader {
    display: none;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-top: 20px;
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
    }
}
