/* Previous CSS remains */

.navbar {
    padding: 0px 10px !important;
}

.custom-navbar {
    background-color: #28a745 !important;
}


.nav-link {
    color: white !important;
    padding-left: 1rem !important;
}

.navbar-toggler {
    border: none !important;
    outline: none !important;
    /* Remove focus outline */
    box-shadow: none !important;
    /* Remove any shadow effects */
}


/* Remove focus ring specifically for the toggle button */

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* Remove active state styling */

.navbar-toggler:active {
    border: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}


/* Add to existing styles */

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .profile-container {
        position: absolute;
        color:white;
        right: 0rem;
        top: 0.7rem;
        /* Anchor to top with small offset */
        z-index: 1000;
    }
    .navbar-collapse {
        width: 100%;
    }
    .nav-link {
        background-color: slategray;
        border-bottom: 1px solid;
    }
}


/* Previous styles remain */

.profile-container {
    position: absolute;
    color:white;
    right: .5rem;
    top: 0.7rem;
    /* Anchor to top with small offset */
    z-index: 1000;
}
.profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.1);
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.add-btn {
    margin-left: auto;
    white-space: nowrap;
}

.navbar-toggler {
    color: white !important;
    background-color: transparent !important;
}


/* Remove underline from link */

.activity-item a {
    text-decoration: none;
}

.activity-content {
    min-height: 300px;
}


/* Style for the activity title */

.activity-title {
    white-space: normal;
    word-wrap: break-word;
    transition: color 0.2s ease;
    overflow-wrap: break-word;
    line-height: 1.4;
}


/* Remove default list group item hover */

.list-group-item:hover {
    background-color: #e9f5ff;
}

.activity-item:hover .activity-title {
    color: #0056b3;
    /* Darker blue on hover */
    text-decoration: none !important;
    /* Ensure no underline */
}


/* Hover effects */

.activity-item:hover {
    background-color: #F6F6F6 !important;
    /* Light gray background on hover */
    transition: all 0.2s ease;
}

.responsive-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 1rem 0;
}

.responsive-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.active-activity {
    border-left: 3px solid #007bff !important;
    font-weight: 500;
}

.lesson-activities .list-group-item {
    transition: all 0.2s ease;
}

@media (max-width: 768px) {
    .lesson-activities {
        margin-top: 1.5rem;
    }
}

.login-form {
    width: 100%;
    max-width: 300px;
}

.form-group {
    margin: 0 auto;
}

.input-group input {
    width: 100%;
    padding: 0.375rem 0.75rem;
}

.form-label {
    margin-bottom: .5rem;
}

#login_widget {
    min-width: 360px;
}

/* Side menu styles */
.side-menu {
	height: 100%;
	width: 250px;
	position: fixed;
	top: 0;
	left: -250px;
	background-color: #343a40;
	overflow-x: hidden;
	transition: 0.3s;
	padding-top: 60px;
	z-index: 1000;
}

.side-menu.active {
	left: 0;
}

.side-menu .nav-link {
	color: white;
	padding: 10px 15px;
	display: flex;
	align-items: center;
}

.side-menu .nav-link:hover {
	background-color: #495057;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 999;
}

.overlay.active {
	display: block;
}

/* Adjust main content when side menu is open */
.main-content {
	transition: margin-left 0.3s;
}

.main-content.menu-open {
	margin-left: 250px;
}

/* Ensure navbar stays above side menu */
.custom-navbar {
	z-index: 1001;
}

/* Custom menu toggle button styles */
.custom-menu-toggle {
	background: none;
	border: none;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
}

.custom-menu-toggle:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
}

/* Ensure menu icon is always visible */
@media (min-width: 0px) {
	.custom-menu-toggle {
		display: inline-flex !important;
	}
}

/* Hide the navbar collapse completely */
.navbar-collapse {
	display: none !important;
}