/* extra stuff we might need to get rid of later */

/* .dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 8px;
    z-index: 1000;
    padding: 8px 0;
} */

.divider {
    border-top: 1px solid #eee;
    margin: 6px 0;
}

/* sign-in page header offset to match landing page */
.signin-header {
    padding-top: 4rem !important;
    padding-left: 3rem !important;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f8f8f8;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    margin-top: 10px;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
    margin: 0 5px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* User profile */
.user-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
}

.user-icon img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}


.watch-video-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #70a1ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.watch-video-button:hover {
    background-color: #007bff;
}


/* Course Watch Page */
.course-watch-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.course-watch {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.course-watch-header {
    text-align: center;
    margin-bottom: 20px;
}

.course-watch-header h2 {
    font-size: 2rem;
    /* margin: 0; */
}

.course-watch-content {
    display: flex;
    gap: 20px;
}

.video-container {
    flex: 3;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.course-watch-chapters-container {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.course-watch-chapters-heading {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.course-watch-chapters-list {
    list-style: none;
    padding: 0;
    /* margin: 0; */
    counter-reset: chapter-counter;
}

.course-watch-chapter-item {
    margin-bottom: 10px;
    counter-increment: chapter-counter;
    display: flex;
    align-items: center;
}

.course-watch-chapter-item::before {
    content: counter(chapter-counter) ". ";
    font-weight: bold;
    margin-right: 5px;
}

.course-watch-chapter-link {
    text-decoration: none;
    color: #007bff;
    display: block;
    padding: 5px;
    border-radius: 5px;
    flex: 1;
    text-align: left;
}

.course-watch-chapter-link:hover {
    background-color: #f0f0f0;
}

.course-watch-tabs-container {
    margin-top: 20px;
}

.course-watch-tabs {
    list-style: none;
    padding: 0;
    display: flex;
    border-bottom: 1px solid #ddd;
}

.course-watch-tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f9f9f9;
    margin-right: 5px;
    transition: background 0.3s;
}

.course-watch-tab-link.current {
    background: white;
    border-bottom: 1px solid white;
}

.course-watch-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.course-watch-tab-content.current {
    display: block;
}

/* Subscribe Page Styles */
.subscribe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    background-color: #f0f4f8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.subscribe-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.subscribe-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    max-width: 500px;
}

.subscribe-button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: #0056b3;
}


/* My Learning Page */
.my-learning {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 20px auto;
}

.my-learning h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.my-learning .course {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.my-learning .course h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.my-learning .course p {
    font-size: 1rem;
    margin-bottom: 5px;
}

.my-learning .course .progress-bar {
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.my-learning .course .progress-bar div {
    height: 20px;
    background: #007bff;
    width: 0;
    transition: width 0.3s;
}

.my-learning .course .quiz-score,
.my-learning .course .points,
.my-learning .course .certificate {
    margin-bottom: 10px;
}

.my-learning .course .certificate a {
    color: #007bff;
    text-decoration: none;
}

.my-learning .course .certificate a:hover {
    text-decoration: underline;
}

.my-learning .button-container {
    text-align: center;
    margin-top: 10px;
}

.my-learning .resume-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.my-learning .resume-button:hover {
    background-color: #0056b3;
}

.my-learning .total-points {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}


.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quiz-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.quiz-box {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.quiz-question {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-answer {
    display: block;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px; /* Optional spacing between answers */
}

.quiz-answer input {
    margin-right: 10px;
}

.quiz-submit {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
}

.quiz-submit:hover {
    background-color: #0056b3;
}

.quiz-complete-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.quiz-complete-box {
    max-width: 600px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

