body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
}

.header {
    background: #343a40;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.progress-bar {
    width: 80%;
    margin: 20px auto;
    background: #e9ecef;
    border-radius: 10px;
    height: 20px;
    position: relative;
}

.progress-bar .progress {
    height: 100%;
    background: #28a745;
    border-radius: 10px;
}

.container {
    display: flex;
    justify-content: space-between;
    margin: 20px;
}

.sidebar {
    flex: 1;
    margin: 0 10px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	max-height: 600px;
    overflow-y: scroll;
}

.chapter-section {
    flex: 2;
    margin: 0 10px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	position: relative;
	max-height: 600px;
    overflow-y: scroll;
}

.chapter-card {
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.chapter-card.locked {
    background: #f5f5f5;
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
}

.chapter-card.current {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.chapter-card.completed {
    background: #cce5ff;
    color: #004085;
}
.mark-complete, .generate-certificate, .retry-section, .retry-quiz{
	background: lightgray;
	border-radius: 10px;
	text-align: center;
	position: relative;
	bottom: -10px;
	left: 5%;
	width: 90%;
}
.badge {
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    background: #ffc107;
    color: #000;
}

.login-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}
.login-container input[type="checkbox"]{
	width: 10%;
    display: inline;
}
.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.login-container button {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.login-container button:hover {
    background: #005177;
}
.login-container .error {
    color: red;
    margin-bottom: 10px;
}
.dropdown{
	text-align: center;
}
.show {
	display: block !important;
}
.chapter-dropdown {
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.chapter-dropdown.locked {
    background: #f5f5f5;
    color: #aaa;
    pointer-events: none;
    cursor: not-allowed;
}

.chapter-dropdown.current {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.chapter-dropdown.completed {
    background: #cce5ff;
    color: #004085;
}
.dropdown-content {
	padding-left: 10px;
    padding-right: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    position: absolute;
    z-index: 1;
    display: none;
    left: 8%;
}
.wp-video {
	width: 680px !important;
}
.popup-content {
	background-color: #fff;
    padding: 20px;
    width: 300px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}
.popup-input {
	display: block;
    margin: 10px auto;
    border-radius: 5%;
}
.popup-button {
	padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
}
.document-controls {
	display: flex; 
	justify-content: center; 
	height: 24px; 
	width: 100%;
}
.hidden {
	display:none !important;
}
.wc-stripe-upe-element{
	width: 56vw !important;
}
#welcome{
	color: white;
}
#next-page, #prev-page {
    background: #f3a749;
    border-radius: 10px;
    text-align: center;
    width: 40%;
}
#page-number {
	padding: 1%
}
#pdf-renderer {
	width: 100%
}
#name-input, #confirm-complete, #confirm-complete-quiz, #confirm-retry-quiz, .login-container{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#confirm-popup{
	display: none;
}
#close-popup {
	position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
@media only screen and (max-width: 600px) {
	.sidebar {
		display: none;
	}
	.dropdown-btn {
		padding-left: 10px;
		padding-right: 10px;
		background: #fff;
		border-radius: 10px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		width: 80%;
		display: block;
		margin: auto;
	}
}
@media only screen and (min-width: 600px) {
	.sidebar {
		display: block;
	}
	.dropdown-btn {
		display: none;
	}
	.dropdown-content {
		display: none !important;
	}
}
@media (max-width: 980px) {
	.et_pb_section{
		padding: 0px !important;
	}
}