@media only screen and (max-width:1599px) {
	.mindfulSkills, .studentWellbeing {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media only screen and (max-width:1399px) {
	.mindfulSkills, .studentWellbeing {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media only screen and (max-width:1199px) {
	.mindfulSkills, .studentWellbeing {
		grid-template-columns: repeat(3, 1fr);
	}

	/* 8sept-2025 */
	.inner-sec {
		max-width: 100%;
	}
}

	@media only screen and (min-width:992px) {
		/*--nav bar css--*/

		.menu-collapse .sidebar .sildebarlogo img {
			width: 60px;
			transition: all .1s ease-in;
			margin-left: 5px;
		}

		.menu-collapse .sidebar {
			width: 88px;
			padding: 23px 10px;
			transition: all .1s ease-in;
		}

		.menu-collapse .menubar li > a span {
			white-space: nowrap;
			visibility: hidden;
			transition: all .1s ease-in;
			display: none;
		}

		.innerbody.menu-collapse {
			padding-left: 68px;
		}
		
	}

	@media only screen and (max-width:991px) {
		.outer-term .main-body-term .content {
			flex-direction: column;
			padding: 50px 15px;
			min-height: 1px !important;
			display: block !important;
		}

		body.outer-term {
			padding: 0;
			background-position: bottom -100px right -100px;
			background-size: 230px;
		}
		.log-sidebar-login {
			position: relative;
			width: 100%;
			min-width: 100%;
			max-width: 100%;
			padding: 50px 15px;
			min-height: 211px;
		}
			.log-sidebar-login img {
				max-width: 200px;
			}
		body.outer-term .main-body-term, body.outer-term .main-body-term .content {
			min-height: calc(100vh - 311px) !important;
		}
			body.outer-term .main-body-term .content {
				padding: 50px 15px;
				min-height: 1px !important;
				display: block !important;
			}
		.closemenu-btn {
			display: block;
			text-align: right;
			cursor: pointer;
			filter: invert(1) brightness(0);
		}

		.innerbody {
			padding-left: 0;
		}

		.sidebar {
			left: -100%;
		}

		.innerbody.menu-collapse .sidebar {
			left: 0;
			box-shadow: 4px 0px 10px rgba(0,0,0,.2);
		}

		.menu-collapse .sildebarlogo .logo-full {
			display: inline-flex;
		}

		.menu-collapse .sildebarlogo .logo-icon {
			display: none;
		}

		.login-left {
			display: none;
		}

		.mindfulSkills {
			grid-template-columns: repeat(3, 1fr);
		}

		.card-header-custom {
			font-size: 16px;
		}

		#profile_email_div .modal {
			padding-left: 0px;
		}

		/* 8sept-2025 */
		.useful-websites {
			text-align: center;
		}
	}

	/* @media only screen and (max-width: 1530px){
	.sidebar-login{
		display: none;
	}
	.log-container{
		justify-content: center;
		align-items: center;
	}

} */
	@media only screen and (max-width: 767px) {
		
		.card-course {
			margin-top: 10px;
		}

		.flag-deatil {
			margin-top: 20px;
		}

		.header {
			flex-wrap: wrap;
		}

		.tp-search {
			max-width: 100%;
			flex: 0 0 calc(100% - 45px);
			margin-bottom: 10px;
		}

		.table-result nav {
			width: 100%;
			margin-top: 10px;
		}

		.table-result {
			flex-wrap: wrap;
		}

		.form-step-process .step-name {
			display: none;
		}

		.add-assign-part-form .col {
			flex: 0 0 100%;
			margin: 0 0 10px;
		}

		.violation-item {
			width: 50%;
		}

		.mindfulSkills, .studentWellbeing {
			grid-template-columns: repeat(2, 1fr);
		}

		.card-header-custom {
			font-size:18px;
		}
	}

	@media only screen and (max-width: 1582px) {
		.user-detail {
			margin-top: 20px;
		}
	}
	/* @media only screen and (max-width: 1100px){
		.card-course{
			min-height: calc(100vh - 550px);
		}
	
} */
	/* @media  screen and (max-width: 1100px ){
	.card-course{
		min-height: calc(100vh - 180px);
		
	  }

 } */


	@media only screen and (max-width: 576px) {
		.achievements{
			display:flex;
			justify-content:center;
		}
		.log-sidebar-login img {
			max-width: 160px;
		}
		.thought-blocker {
			display: flex;
			justify-content: center;
		}
		.emotions-journal {
			display: flex;
			justify-content: center;
		}
		.check-in-calendar {
			display: flex;
			justify-content: center;
		}
		body.outer-term .main-body-term {
			min-height: calc(100vh - 320px) !important;
		}
		body.outer-term .main-body-term .content {
			padding: 40px 15px;
		}
		.card-wrapper {
			gap: 22px;
		}

		/*.video-expand {
			height: 0;
		}*/

		.card-header-custom{
			font-size:14px;
			height:57px;
		}
		.sidebar {
			max-width: 100%;
			transition: width 0.5s ease; /* transition on width */
		}
		.smily-bg{
			padding: 20px 40px;
		}
		.skillsDiv {
			margin: 0 auto;
		}
		.mod-b .modal-body {
			padding: 6px 15px;
		}
		.mod-thought .modal-body {
			padding: 20px 15px;
		}
		.innerbody .container-fluid {
			padding: 0;
		}
		.custom-dashboard-btn {
			margin-bottom: 15px;
		}
		.chat-area {
			max-width: 70%;
		}

		.bg-white-container {
			padding: 20px 15px;
		}
		.lodBoxImg {
			padding-left: calc(100% - 56%);
		}

		.starBlog .gap-5 {
			gap: 1rem !important;
		}
		.violation-item {
			width: 100%;
		}
		.wellbeing-level-left {
			height: auto;
		}

		.card-header-custom-two {
			left: 40px;
		}

		.mindfulSkills, .studentWellbeing {
			display: grid;
			grid-template-columns: repeat(1, 1fr);
			gap: 30px;
		}

		.chat-container {
			background-color: white;
			border-radius: 20px;
			width: 100%;
			/* max-width: 900px; */
			height: 600px;
			display: flex;
			flex-direction: column;
			padding: 15px 10px;
			box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		}

		.chat-footer input {
			padding: 12px 10px;
		}


		.profile-section img {
			max-width: 120px !important;
			max-height: 120px;
		}

		.custom-profile-btn {
			height: 40px !important;
			width: 40px !important;
		}

		.custom-card .mt-4 {
			margin-top: 0.8rem !important;
		}

		.custom-profile-btn img { width:22px !important;}


		.wellbeingDiv img, .card-body-custom img {
			max-width: 178px;
			height:auto;
		}

		.card-custom {
			width: 100%;
			height: auto;
		}

		.bg-white-container.Self-esteem.mt-2 {
			min-height: calc(100vh - 310px);
			padding: 5px 15px;
		}

		.support-section .useful-numbers {
			padding:10px;
			border-radius: 10px;
		}

		.support-section h3 {
			font-size: calc(0.9rem + .6vw);
			margin-bottom:0;
		}

		.support-section p {
			font-size: 12px;
			margin-bottom:0 !important;
		}

		.support-section .mt-4 {
			margin-top: 1rem !important;
		}
		.log-sidebar-login {
			padding: 30px 15px;
			min-height: 170px;
		}

		}

	@media only screen and (max-width: 375px) {
		.mindfulSkills, .studentWellbeing {
			display: grid;
			grid-template-columns: repeat(1, 1fr);
			gap: 30px;
		}
	}
