/* Default: Hide desktop, show mobile */
.desktop {
    display: none;
}
.mobile {
    display: block;
}

/* Screens larger than 768px (Tablets/Desktops): Hide mobile, show desktop */
@media (min-width: 768px) {
    .desktop {
        display: block;
    }
    .mobile {
        display: none;
    }
}

/* Hide Next/Previous buttons ONLY on the mobile carousel */
#carouselMobile .carousel-control-prev,
#carouselMobile .carousel-control-next {
    display: none !important;
}
/* --- Optional: Skeleton Loading Style --- */
/* This gives a grey background while images load */
.skeleton .carousel-item {
    background-color: #e0e0e0; 
    min-height: 200px; /* Adjust based on your banner height */
}
.course-portal-mnd-container {
	width: 100%;
/* 	padding: 10px 0px 20px 0px; */
}

.course-portal-mnd-container .search-course, .course-portal-mnd-container h2.msgh2 {
    font-size: 23px;
}

.course-portal-mnd-container h1, .course-portal-mnd-container h4, .course-portal-mnd-container h2 {
	text-align: center;
	color: #021731;
}

.course-portal-mnd-container h1, .course-portal-mnd-container h2 {
	margin-bottom: 12px;
	font-family: "Montserrat", Sans-serif;
	font-weight: 600;
	line-height: inherit;
}

.course-portal-mnd-container h2 {
	margin-top: 40px;
	font-size: clamp(1.0625rem, 0.9183rem + 0.7692vw, 1.6875rem);
}

.course-portal-mnd-container h4 {
	font-family: "Roboto", Sans-serif;
	font-size: clamp(0.875rem, 0.8173rem + 0.3077vw, 1.125rem);
}

.course-portal-mnd-filters {
	background: #f8f9fe;
	width: 100%;
    padding: 20px 20px 10px 20px;
	position: relative;
	border: 1px solid #000000;
	border-radius: 30px;
	margin-bottom: 8px;
}

.course-portal-mnd-filters .details {
	background: #021731;
    color: #fff;
    padding: 2px 15px;
    position: absolute;
    top: -15px;
	left: 30px;
    border-radius: 20px;
}

.course-portal-mnd-filters .nice-select {
	width: 100%;
	height: auto;
	border: 1px solid #000;
	color: #000;
    font-weight: 700;
	border-radius: 15px;
	padding-left: 10px;
	padding-right: 25px;
	line-height: 30px;
}

.course-portal-mnd-filters .nice-select .list {
	max-height: 300px;
	overflow: auto;
	margin-left: 0;
}

.course-portal-mnd-filters .nice-select .list .option {
	color: #000;
	font-size: 14px;
}

.course-portal-mnd-filters .nice-select:hover {
	border: 1px solid #000;
}


.course-portal-mnd-filters .nice-select::after {
	height: 10px;
	width: 10px;
	margin-top: -7px;
	right: 15px;
	border-bottom: 2px solid #000;
    border-right: 2px solid #000;
}

.course-portal-mnd-filters .cust .search-input {
	padding: 5px;
    width: -webkit-fill-available;
    box-sizing: border-box;
    border-radius: 5px;
	position: relative;
}

.course-portal-mnd-filters .cust .search-input::-webkit-input-placeholder {
  display: inline-block;
  transition: all 0.3s ease-in-out;
  padding-right: .15em;
  white-space: nowrap;
	color:#686868;
	font-weight:500;
}


.course-portal-mnd-filters .cust .search-input {
  background: #fff url(https://www.merchantnavydecoded.com/wp-content/uploads/2024/11/search-svgrepo-com.svg) 98% 50% no-repeat;
  background-size: 20px 20px;
	box-shadow :0 2px 6px rgb(117 117 117 / 99%);
}

.course-portal-mnd-filters .cust .search-input-container {
	position: sticky;
	top: 0px;
    padding: 8px;
    background: #3f3fd4;
}


.course-portal-mnd-filters .nice-select .option:not(.disabled):hover, .course-portal-mnd-filters .nice-select .option.focus, .course-portal-mnd-filters .nice-select .option.selected.focus {

}

.course-portal-mnd-filters .cust .option.disabled {
	padding-left: 8px;
	font-weight: 700;
	background: #fecd00;
    color: #000;
}

.course-portal-mnd-filters .cust .option.disabled:hover {
	color: #000!important;
}

.course-portal-mnd-filters .cust .list:hover .option.disabled {
	color: #fecd00;
}

.course-portal-mnd-filters .nice-select .current {
	display: block;
    overflow: hidden;
    text-overflow: ellipsis;
	text-align: center;
	/*font-size: clamp(0.75rem, 0.6779rem + 0.3846vw, 1.0625rem);*/
	font-size: 13px;
}

.course-portal-mnd-filters .nice-select .list {
	background: white;
	left: -1px;
}

.course-portal-mnd-filters .nice-select .list li {
	background: white;
}

.course-portal-mnd-filters .nice-select .list:hover .option:not(:hover) {
	background: white!important;
}

@media (max-width: 850px) {
	.course-portal-mnd-filters .nice-select .list {
		width: 101%;
	}
	
	.course-portal-mnd-filters .nice-select .list li {
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
.course-portal-mnd-filters [name="search"] {
	border: 1px solid #000;
	color: #000;
	font-weight: 700;
	border-radius: 15px;
	height: 53px;
	font-size: clamp(0.75rem, 0.6779rem + 0.3846vw, 1.0625rem);
	text-align: center;
}

.course-portal-mnd-filters .svg-wrapper {
	position: absolute;
	top: 10px;
	right: 35px;
	cursor: pointer;
}

.course-portal-mnd-filters button[type="submit"], .course-portal-mnd-container #form-pop button[type="submit"], .course-portal-mnd-container .pop-button {
	background-color:#4338ca;
	color: #fff;
	padding: 10px 18px;
	border-radius: 10px;
	border: none;
}

.course-portal-mnd-container #form-pop .pop-form .nice-select .list .option.disabled {
    background-color: #e9ecef;
    color: red;
}

.course-portal-mnd-filters button[type="submit"] {
	background: #3f3fd4;
	color: #fff;
	box-shadow:0 2px 8px 1px rgba(63, 63, 212, 0.45);
}

.course-portal-mnd-filters button:disabled {
  cursor: not-allowed;
}

.course-portal-mnd-filters .form-group.col-lg-6 button[type="button"] {
	background: #fff;
	color: #000;
	padding: 10px 18px;
	border-radius: 10px;
	border: none;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 1;
	border:2px solid #f1f5f9;
	
}

.course-portal-mnd-filters .form-group.col-lg-6 button[type="button"]:hover {
	opacity: 0.5;
}

.course-portal-mnd-filters button[type="submit"]:hover, .course-portal-mnd-container #form-pop button[type="submit"]:hover, .course-portal-mnd-container .pop-button:hover {
	background: #3f3fd4;
	color: #fff;
}

.course-portal-mnd-filters button[type="submit"]:hover {
	opacity: 0.5;
}

.course-portal-mnd-filters .disabled {
	opacity: 0.5!important;
	cursor: not-allowed;
}

.course-portal-mnd-container .table-container {
	overflow: auto;
	max-height: 500px;
	position: relative;
	width: 100%;
}

@media (max-width: 500px) {
    .course-portal-mnd-container .table-container {
    	max-height: 600px;
    }
}

.course-portal-mnd-container table {
	width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #000;
    border-top: none;
	margin-bottom: 0;
}

.course-portal-mnd-container table tr {
	background-color: #f8f8f8;
}


.course-portal-mnd-container table thead tr th {
    border-left: none;
    border-bottom: 1px solid #021731;
    border-right: 1px solid #021731;
}

.course-portal-mnd-container table thead tr th:first-child {
    border-left: 1px solid #021731;
}

.course-portal-mnd-container table thead tr th:last-child {
	border-right: none;
}

.course-portal-mnd-container table th,
.course-portal-mnd-container table td {
	padding: .625em;
	color: #000;
}

.course-portal-mnd-container table th,
.course-portal-mnd-container table td {
    border-top: 1px solid #021731;
    border-right: 1px solid #021731;
}

.course-portal-mnd-container table td:last-child {
    border-right: none;
	
}
.doc-reach{
	display:flex;
}
.course-portal-mnd-container table tbody tr:first-child td {
    border-top: none;
}

.course-portal-mnd-container table th {
	font-size: .85em;
	letter-spacing: .1em;
	text-transform: uppercase;
	background: #f8f9fe;
	text-align: center;
	font-weight: 700;
	position: sticky;
	top: 0;
}

.course-portal-mnd-container table td {
	background: #fff;
	border-bottom: none;
}

.course-portal-mnd-container table td a {
	color: #b1e1f5;
}

.course-portal-mnd-container table tr.promoted td {
	font-weight: bold;
}

.course-portal-mnd-container table td.text-center .book-container {
	display: flex;
    flex-direction: column;
}

.course-portal-mnd-container .no-result {
	text-align: center;
	text-align: center;
    font-size: 25px;
    font-weight: bold;
}

.course-portal-pagination {
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.course-portal-pagination .page-numbers {
	background: #e9ecf3;
	padding: 5px 15px;
	border: 1px solid #d2d2d2;
	color: #000;
    font-weight: bold;
}

.course-portal-pagination .page-numbers:focus {
	outline: none;
}

.course-portal-pagination .page-numbers.current, .course-portal-pagination .page-numbers:not(.dots):hover {
	background: #f7f7f7;
	color: #000;
}

.course-portal-pagination .page-numbers.dots {
	cursor: not-allowed;
}

.course-portal-mnd-container .carousel .carousel-control-prev, .course-portal-mnd-container .carousel .carousel-control-next {
    cursor: pointer;
}

.course-portal-mnd-container .carousel {
	margin: auto auto 15px auto;
}

.course-portal-mnd-container .carousel .carousel-inner {
	border-radius: 30px;
	border: 1px solid black;
}

.course-portal-mnd-container .carousel .carousel-inner .carousel-item a {
	width: 100%;
}

@media (min-width: 501px) {
	.course-portal-mnd-container #carouselMobile {
		display: none;
	}
}

@media (max-width: 500px) {
	.course-portal-mnd-container #carouselDesktop {
		display: none;
	}
}

@media (min-width: 992px) {
	
	.course-portal-mnd-container #carouselDesktop.carousel .carousel-inner img {
		height: 300px;
	}
}

.course-portal-mnd-container h5 {
    font-family: "Montserrat", Sans-serif;
	margin: 20px 0;
	font-weight: 600;
	font-size: 20px;
	color: #021731;
}

.course-portal-mnd-container .nearby .locations-container {
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
	justify-content: center;
}

.course-portal-mnd-container .nearby .locations-container button {
	padding: 3px 15px;
    background: #fff;
    border-radius: 30px;
	border: 1px solid;
	color:#021731;
}

.course-portal-mnd-container .nearby .locations-container button:hover {
	background: #45419F;
}

.course-portal-mnd-container .nearby .locations-container button:focus {
	outline: none;
}

.course-portal-mnd-filters .nice-select.cust .option {
	line-height: 20px;
	padding: 10px 18px;
}

@media (max-width: 850px) {
    .course-portal-mnd-filters .nice-select.cust {
		white-space: normal;
	}
}

.course-portal-mnd-filters .nice-select.cust .current {
	white-space: nowrap;
}

.course-portal-mnd-container .sort-price::before {
	position: absolute;
	display: block;
	bottom: 40%;
	right: 5px;
}

.course-portal-mnd-container .sort-price::after {
	position: absolute;
	display: block;
	top: 40%;
	right: 5px;
}


/* Ascending arrow */
.course-portal-mnd-container .sort-price.asc::before {
  content: "▲";
}

.course-portal-mnd-container .sort-price.asc::after {
  content: "▼";
  opacity: 0.3;
}

/* Descending arrow */
.course-portal-mnd-container .sort-price.desc::before {
  content: "▲";
  opacity: 0.3;
}

.course-portal-mnd-container .sort-price.desc::after {
  content: "▼";
}

/* Neutral state (no sort) */
.course-portal-mnd-container .sort-price.all::before {
	content: "▲";
	opacity: 0.3;
}

.course-portal-mnd-container .sort-price.all::after {
	content: "▼";
	opacity: 0.3;
}

.course-portal-mnd-container .skeleton {
    position: relative;
	border-radius: 10px;
	margin-bottom: 10px;
	border: none;
}

.course-portal-mnd-container .skeleton::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: auto;
  background-size: 200%;
  animation: 1.5s skeleton linear infinite;
  border-radius: 10px !important;
}

@media (min-width: 800px) {
	.course-portal-mnd-container h2.skeleton:before {
		height: 30px;
	}
}

@keyframes skeleton {
    to {
		background-position-x: -200%;
	}
}

@media (max-width: 768px) {
	.course-portal-mnd-container h1 {
		/*font-size: clamp(1.1875rem, 0.8846rem + 1.6154vw, 2.5rem);*/
		font-size: 19px;
	}
	.course-portal-mnd-container table {
		margin: 2px;
	}
	.course-portal-mnd-container .search-course, .course-portal-mnd-container h2.msgh2 {
        font-size: 18px;
    }

	.course-portal-mnd-container .course-portal-mnd-filters .reset-btn-cont {
	
	}

	.course-portal-mnd-container .course-portal-mnd-filters .reset-btn-cont button, .course-portal-mnd-container .course-portal-mnd-filters .search-btn-cont button {
		max-width: 180px;
    	width: 100%;
	}
}

@media (min-width: 768px) {
	.course-portal-mnd-container h1 {
		font-size: 30px;
	}

	.course-portal-mnd-container .course-portal-mnd-filters .reset-btn-cont, .course-portal-mnd-container .course-portal-mnd-filters .search-btn-cont {
		margin: 0;
	}
}

.table-container.skeleton {
	overflow: hidden;
}

.course-portal-pagination .page-numbers:disabled {
    opacity: .65;
	cursor: not-allowed;
}

.course-portal-mnd-container a.need-help {
	background: #3f3fd4;
	font-family: "Roboto", Sans-serif;
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
	color: #fff;
	padding: 8px 15px;
	border-radius: 3px;
	text-decoration: none;
}

.course-portal-mnd-container a.need-help:hover {
	background: #fecd00;
	color: #000;
}

.course-portal-mnd-container .need-help-div {
	text-align: center;
	margin-top: 20px;
}

.course-portal-mnd-container .table-container table .skeleton {
	border: 1px solid;
	border-radius: 0;
}

.course-portal-mnd-container .table-container table td.skeleton {
	padding: 20px;
}

.course-portal-mnd-container .table-container table .skeleton:before {
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 92%;
	height: 50%;
}

.course-portal-mnd-container .hidden {
	display: none!important;
}

.course-portal-mnd-container .table-container table tr.skele th, .course-portal-mnd-container .table-container table tr.skele td {
	position: relative;
	margin-bottom: 10px;
	text-align: center;
}

.course-portal-mnd-container .table-container table tr.skele th::before, .course-portal-mnd-container .table-container table tr.skele td::before {
	content: '';
	position: absolute;
	z-index: 10;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 95%;
	height: 95%;
	background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
	background-size: auto;
	background-size: 200%;
	animation: 1.5s skeleton linear infinite;
	border-radius: 10px !important;
}

.course-portal-mnd-container #disclaimer .modal-header {
    padding: 15px;
}

.course-portal-mnd-container #disclaimer .modal-header .close, .course-portal-mnd-container #form-pop .close, .course-portal-mnd-container .modal.payment .modal-header .close {
    font-size: 30px;
    font-weight: 700;
}

.course-portal-mnd-container #disclaimer .modal-body {
    padding: 15px;
    color: #000;
}

.course-portal-mnd-container #disclaimer h5, .course-portal-mnd-container #form-pop h5, .course-portal-mnd-container .modal.payment h5 {
	margin: 0;
	font-family: "Montserrat", Sans-serif;
	font-weight: 700;
}

.course-portal-mnd-container #form-pop h5, .course-portal-mnd-container .modal.payment .modal-body .con-booking {
	font-weight: 700;
    color: #021731;
}

.course-portal-mnd-container #disclaimer p {
	font-family: "Roboto", Sans-serif;
}

.course-portal-mnd-container #disclaimer p:last-child {
	margin: 0;
}

html {
  scroll-behavior: smooth;
}

#read-more-link {
	color: #D8E0ED;
	cursor: pointer;
}

.course-portal-mnd-container h2.msgh2 {
	font-size: 20px;
}

.course-portal-mnd-container .pop-button {
	 padding: 6px 12px !important;
    border-radius: 10px;
  font-size:12px;
    margin: auto;
}

.course-portal-mnd-container #form-pop form .message {
	font-weight: 600;
}

.course-portal-mnd-container #form-pop form .message.success-message {
	color: green;
}

.course-portal-mnd-container #form-pop form .message.error-message {
	color: red;
}


.course-portal-mnd-container #form-pop button[type="submit"] {
	background: #3f3fd4;
	color: #fff;
	border-radius: 10px;
	padding: 12px 10px;
	font-weight: 700;
}

.course-portal-mnd-container #form-pop .button-parent button[type="button"] {
	background: #fecd00;
	color: #000;
	padding: 5px 10px;
	border-radius: 10px;
	border: none;
	transition: all ease-in 0.2s;
}

.course-portal-mnd-container #form-pop button[type="submit"]:hover, .course-portal-mnd-container #form-pop .button-parent button[type="button"]:hover {
	opacity: 0.7;
}

.course-portal-mnd-container .modal.payment h4 {
	font-size: 18px;
}

.course-portal-mnd-container .modal.payment p {
	margin-bottom: 10px;
}

.course-portal-mnd-container .modal.payment a {
	color: #3aa6d5;
}

.course-portal-mnd-container #form-pop label {
	font-family: Poppins,Sans-serif;
	font-weight: 600;
	color: #000;
}
@media (max-width: 430px) {
	.course-portal-mnd-container #form-pop label{
		font-size:11px;
	}
	
}
.course-portal-mnd-container #form-pop h5 {
	text-align: center;
  	padding: 0 20px 0 0;
	margin-bottom: 10px;
}

.course-portal-mnd-container #form-pop .button-parent {
	display: flex;
	justify-content: center;
  	gap: 20px;
}

.course-portal-mnd-container #form-pop .nice-select {
	height: 40px;
}

.course-portal-mnd-container #form-pop .nice-select .current {
	color: #6c757d;
	border-radius: 15px;
	padding-left: 4px;
	padding-right: 25px;
	line-height: 30px;
	font-size: 14px;
}

.course-portal-mnd-container #form-pop .nice-select::after {
	height: 10px;
	width: 10px;
	margin-top: -7px;
	right: 15px;
	border-bottom: 2px solid #6c757d;
	border-right: 2px solid #6c757d;
}

.course-portal-mnd-container #form-pop .nice-select .list {
	margin-left: 0;
	max-height: 250px;
  	overflow: auto;
}

.course-portal-mnd-container #form-pop .nice-select .list .option {
	color: #6c757d;
  	font-size: 14px;
}

.course-portal-mnd-container #form-pop .nice-select .option:not(.disabled):hover, .course-portal-mnd-container #form-pop .nice-select .option.focus, .course-portal-mnd-container #form-pop .nice-select .option.selected.focus {
  background-color: #3f3fd4 !important;
  color: #fff;
}

@media (max-width: 992px) {
	.course-portal-mnd-container #form-pop button {
		flex: 1;
	}
}

/* Animated Arrow and Message */

.course-portal-mnd-container .scroll-container {
	position: relative;
}
.course-portal-mnd-container .scroll-hint {
	position: absolute;
	top: 50px;
	right: 20px;
	display: none;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 8px 14px;
	border-radius: 20px;
	font-size: 14px;
}

.course-portal-mnd-container .arrow {
	display: inline-block;
	font-size: 20px;
	animation: moveArrow 1s ease-in-out infinite;
}

@keyframes moveArrow {
	0% { transform: translateX(0); }
	50% { transform: translateX(10px); }
	100% { transform: translateX(0); }
}

@keyframes fadeOut {
	to {
	opacity: 0;
	transform: translateY(-10px);
	pointer-events: none;
	}
}

.course-portal-mnd-container .sub-bundles {
	margin-bottom: 10px;
}

.course-portal-mnd-container .sub-bundles .dropdown {
	position: relative;
	width: 400px;
	margin: auto;
}

.course-portal-mnd-container .sub-bundles .dropdown-toggle {
	padding: 10px;
	border: 1px solid #fff;
	background-color: #45419F;
	cursor: pointer;
	border-radius: 15px;
	min-height: 45px;
}

.course-portal-mnd-container .sub-bundles .dropdown-toggle span {
	color: #000;
	font-weight: 700;
	font-size: 13px;
	text-align: center;
	-webkit-user-select: none;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding-right: 20px;
}

.course-portal-mnd-container .sub-bundles .dropdown-toggle::after {
	content: '';
	display: block;
	pointer-events: none;
  	position: absolute;
	top: 50%;
	height: 10px;
  	width: 10px;
  	margin-top: -7px;
  	right: 15px;
  	border-bottom: 2px solid #000;
  	border-right: 2px solid #000;
	-webkit-transform-origin: 66% 66%;
	-ms-transform-origin: 66% 66%;
	transform-origin: 66% 66%;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
	border-top: none;
	border-left: none;
}

.course-portal-mnd-container .sub-bundles .dropdown-toggle.show::after {
	-webkit-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

.course-portal-mnd-container .sub-bundles .dropdown-menu {
	display: none;
	position: absolute;
	width: 100%;
	border: 1px solid #ccc;
	background-color: #fff;
	max-height: 300px;
	overflow-y: auto;
	z-index: 1001;
}

.course-portal-mnd-container .sub-bundles .dropdown-menu.show {
	display: block;
}

.course-portal-mnd-container .sub-bundles .dropdown-menu label {
	display: flex;
	padding: 8px;
	cursor: pointer;
	-webkit-user-select: none;
	font-size: 14px;
}

.course-portal-mnd-container .sub-bundles .dropdown-menu label input {
	margin-top: 5px;
}

.course-portal-mnd-container .sub-bundles .dropdown-menu label:hover {
	background-color: #f0f0f0;
}

.course-portal-mnd-container .sub-bundles .selected-values {
	margin-top: 15px;
	font-size: 15px;
}

.course-portal-mnd-container .sub-bundles .dropdown-menu label.disabled {
	opacity: 0.5;
 	cursor: not-allowed;
}

.course-portal-mnd-container .sub-bundles h4 {
	font-family: "Montserrat", Sans-serif;
  	font-weight: 600;
	font-size: 18px;
	margin: 20px 0;
}

.course-portal-mnd-container .sub-bundles .dropdown-toggle .animate::after {
	content: '|';
	animation: blink 0.7s infinite;
	margin-left: 2px;
}

.course-portal-mnd-container table th.course-starts {
	min-width: 160px;
}

.course-portal-mnd-container .bundle-content-container {
	margin-top: 30px;
}

.course-portal-mnd-container .bundle-content-container h5 {
	margin: 0;
}

.course-portal-mnd-container .bundle-content-container .card-body a {
	color: #854d0e;
	font-weight: 700;
}

.course-portal-mnd-container .bundle-content-container .card-body a:hover {
	opacity: 0.7;
}

.course-portal-mnd-container .table-container td span.date-available {
  color: #229c5a;
}

.course-portal-mnd-container .table-container td span.date-few {
  color: #e6b800;
}

.course-portal-mnd-container .table-container td span.date-full {
  color: #e74a3b;
}


.course-portal-mnd-container #cancel-model .modal-header {
	padding: 5px 10px 0px 0;
	border: none;
}

.course-portal-mnd-container #cancel-model .modal-body .close {
	font-size: 30px;
	font-weight: 700;
	position: absolute;
	right: 15px;
	top: 15px;
}

.course-portal-mnd-container #cancel-model .modal-body p {
	margin: 0;
}

.course-portal-mnd-container #cancel-model .modal-body .d-flex {
	margin-top: 20px;
	gap: 10px;
}

.course-portal-mnd-container #cancel-model .modal-body .d-flex .btn {
	font-size: 15px;
	flex: 1;
	transition: all ease 0.3s;
}

.course-portal-mnd-container #cancel-model .modal-body .d-flex .btn:hover {
	opacity: 0.7;
}

.course-portal-mnd-container #cancel-model .modal-body .d-flex .btn.book {
	background: #3f3fd4;
	color: #fff;
	border-radius:10px;
}

.course-portal-mnd-container #cancel-model .modal-body .d-flex .btn.call {
	background: #fecd00;
	color: #000!important;
	border-radius:10px;
}


@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

@media (max-width: 500px) {
	.course-portal-mnd-container .sub-bundles .dropdown {
		width: 100%;
	}
}


/* Extra Filters */
.course-portal-mnd-container .extra-filters {
	display: flex;
	gap: 20px;
	margin-top: 30px;
	align-items: center;
	justify-content: space-between;
}

.course-portal-mnd-container .extra-filters .filter-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.course-portal-mnd-container .extra-filters .filter-buttons input[type="radio"] {
	display: none;
}

.course-portal-mnd-container .extra-filters .filter-buttons label {
	padding: 5px 15px;
	border: 1px solid #D8E0ED;
	border-radius: 10px;
	background-color: white;
	color: #000;
	min-width:115px;
	text-align: center;
	cursor: pointer;
	height: fit-content;
	box-shadow:0 2px 8px 1px rgba(63, 63, 212, 0.45);
}

.course-portal-mnd-container .extra-filters .filter-buttons input[type="radio"]:checked + label {
	background-color: #fff;
	border: 1px solid #f1f5f9;
	color: black;
	box-shadow:0 2px 8px 1px rgba(63, 63, 212, 0.45);
}

.course-portal-mnd-container .extra-filters .filter-buttons label:hover {
	background-color: #e6f0ff;
}

.course-portal-mnd-container .extra-filters .discount-banner {
	background: #dae0fb;
	display: flex;
    align-items: center;
    gap: 15px;
	padding: 15px;
    border-radius: 8px;
	max-width: 600px;
    width: 100%;
	justify-content: space-evenly;
}

.course-portal-mnd-container .extra-filters .discount-banner h3 {
	margin: 0;
	color: #000;
	font-family: Montserrat, Sans-serif;
}

.course-portal-mnd-container .extra-filters .discount-banner h3 strong {
	font-weight: 700;
}

.course-portal-mnd-container .extra-filters .discount-banner #discount-btn {
	background: #4338ca;
	color: #fff;
	border-radius: 10px;
	border: none;
}

.course-portal-mnd-container .extra-filters .discount-banner #discount-btn:hover {
	opacity: 0.8;
}

.course-portal-mnd-container .extra-filters .discount-banner .discount-footer {
	color: #000;
	font-family: Poppins, Sans-serif;
	display: flex;
	justify-content: space-between;
	font-weight: 500;
	flex-wrap: wrap;
}

.course-portal-mnd-container .extra-filters .discount-banner #price {
	background: #3f3fd4;
	padding: 1px 5px;
    border-radius: 3px;
	position: relative;
    display: inline-block;
    animation: flip 4s infinite ease-in-out;
    transform-style: preserve-3d;
	min-width: 100px;
    text-align: center;
}

.course-portal-mnd-container .extra-filters .discount-banner #price::after {
	content: "Discount";
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #3f3fd4;
	border-radius: 10px;
	color: white;
	backface-visibility: hidden;
	transform: rotateY(180deg);
}

@keyframes flip {
	0%, 15% {
		transform: rotateY(0deg);
	}
	35%, 50% {
		transform: rotateY(180deg);
	}
	65%, 100% {
		transform: rotateY(360deg);
	}
}

@media (max-width: 500px) {
	.course-portal-mnd-container .extra-filters .filter-buttons label {
		flex: 1;
	}
}

@media (max-width: 600px) {
	.course-portal-mnd-container .extra-filters {
		flex-wrap: wrap;
	}
}

@media (max-width: 415px) {
	.course-portal-mnd-container .extra-filters .discount-banner .discount-footer #discount-btn {
		width: 100%;
		margin-top: 5px;
	}
}

.portal-message-container {
    width: 100%;
    padding: 22px;
    background: #dbd9ff;
    border: 1px solid #d7e3ff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

/* Main system messages */
.portal-message-container .msgh2 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #09112e;
    margin-bottom: 18px;
    animation: fadeIn 0.4s ease-in-out;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}


.nearby {
    margin-top: 18px;
	text-align:center;
}

.nearby-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d2d50;
}

/* Container for buttons */
.locations-container {
    gap: 10px;
}

/* Nearby location buttons */
.nearby-btn {
    padding: 8px 14px;
    background: #e2ecff;
    color: #1c3faa;
    border: 1px solid #bcd1ff;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s ease;
    font-weight: 500;
}

.nearby-btn:hover {
    background: #1c3faa;
    color: #fff;
    border-color: #1c3faa;
    transform: translateY(-2px);
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */
@media (max-width: 768px) {
    .portal-message-container {
        padding: 16px;
    }
    .portal-message-container .msgh2 {
        font-size: 19px;
    }
    .nearby-btn {
        font-size: 13px;
        padding: 7px 12px;
    }
}

@media (max-width: 480px) {
    .portal-message-container {
        padding: 12px;
    }
    .portal-message-container .msgh2 {
        font-size: 17px;
    }
    .nearby-title {
        font-size: 16px;
    }
}
.modal-body .view-documents-btn,
.modal-body .view-hostel-btn {
    margin: 20px 5px 0 0; 
    display: inline-block;
}




@media (max-width: 480px) {
    .view-documents-btn, 
    .view-hostel-btn {
        width: 100%;      
        display: block;
        text-align: center;
    }
}
.modal-body .view-documents-btn,
.modal-body .view-hostel-btn{
	
    font-weight: 600 !important;
	padding:12px !important;
}

#hostel-content-area .table-responsive {
    border: none;
}

#hostel-content-area table {
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
}

#hostel-content-area thead {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 700;
}

#hostel-content-area .btn-primary {
    background-color: #fecd00;
    border: none;
    font-size: 12px;
    padding: 2px 10px;
}

/* Card Container */
.course-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 20px;
	margin-top:30px;
    border: 1px solid  #e0e7ff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);

}
.course-card:hover{
	
	border-left: 2px  solid  #e0e7ff;
}
/* Header: College/Course on Left, Price/Rating on Right */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
	column-gap:10px;
}

.institute-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}
.institute-name:hover{
	color: #854d0e;
}
.course-name {
    font-size: 11px;
    color: #64748b;
    margin: 2px ;
	font-weight:600;
	margin-bottom:6px;
}

.price-container {
    text-align: right;
	padding:6px;
	background:#fff9db;
	border: 1px solid #f8f2DA;
	border-radius: 10px;
}

.price-value {
    display: block;
    font-size: 16px;
    font-weight:900;
    color: #854d0e;
	
}





/* Meta Info Row (Location/Month) */
.meta-info-row {
    display: flex;
    gap: 15px;
    font-size: 10px;
    color: #94a3b8;
}

.meta-info-row i { color: #999; margin-right: 4px; }

/* Course Start Dates Box (Light Blue) */
.dates-box {
     background: #f5f8ff;
    border-radius: 12px;
    padding:5px 12px;
    margin-bottom: 12px;
	line-height:1.4;
	border:1px solid #e0e7ff;
}

.dates-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
}

/* Left section */
.dates-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Right status */
.dates-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #7c3aed; 
}

/* Purple blinking dot */
.blink-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 1.3s infinite ease-in-out;
}

.blink-dot.purple {
    background:#059669;
    box-shadow: 0 0 6px rgba(15, 214, 35, 0.8);
}

/* LIVE text */
.live-text {
    letter-spacing: 0.5px;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
}


.calendar-icon {
    font-size: 20px;
    color: #4338ca;
}

.dates-box .label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    display: block;
}

.dates-value {
    font-size: 14px !important;
    font-weight: 800;
    color: #000;
}
.view-documents-btn{
	margin-right:5px;
}
/* Exclusive Deal Strip */
.deal-strip {
    background: #fff8e1;
    color: #000;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}
.deal-strip span{
	font-weight:500;
}
/* Bottom Action Buttons */
.card-action-row {
    display: flex;
    gap: 10px;
}

.card-action-row .book-now-btn {
    flex: 2;
    background: #3f3fd4;
    color: #fff;
    border-radius: 10px !important; 
    padding: 8px !important;
    font-weight: 700 !important;
    border: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
	box-shadow: 0 4px 10px 2px rgba(63,63,212,0.45);
	transition: all;
}
.card-action-row .book-now-btn:hover{
    
	background: #3232b5;
	transform: scale(0.98);
}
/* Container buttons */
.footer-btn,
.reach-modal-trigger {
    flex: 1;
    border-radius: 10px !important;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    background:#fff !important;
	color:#94a3b8 !important;
	border:2px solid #f1f5f9 !important;
    /* alignment fix */
    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: center;
    padding: 6px 8px !important;
    margin-top: 0 !important;
}
.reach-modal-trigger:hover{
color:#ee7948!important;
	border:2px solid #ffcfbb !important;
}
.reach-modal-trigger i:hover{
	color:#059669;
}
.view-documents-btn i:hover{
	color:#4f46e5;
}
.view-documents-btn:hover{
	color:#4f46e5 !important;
	border:2px solid #c7d2fe !important;
}
.view-hostel-btn:hover{
	
		color:#059669 !important;
	border: 2px solid #a3e5c7 !important;
}
/* Text styling */
.footer-btn span,
.reach-modal-trigger span {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

/* Hover effect (safe, smooth) */
.footer-btn:hover,
.reach-modal-trigger:hover,
.view-hostel-btn:hover{

    transform: translateY(-2px) scale(0.95);
   
}


@media (max-width: 680px) {
    .d-md-none { display: block !important; }
    .d-md-block { display: none !important; }
    
   
    
    .card-footer-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
       
    }
}
@media (max-width: 680px) {
  .form-row {
    display: flex;
    flex-wrap: wrap;
  }

  /* Default: all fields half width */
  .form-group {
    width: 50%;
    padding: 5px;
  }

  /* Course (1st select) full width */
  .form-group.col-lg-3:first-child {
    width: 100%;
  }
  .form-group.col-md-6 { width: 50%; padding: 5px; } /* side by side */
  /* Month (4th select) full width */
  .form-group.col-lg-3:nth-child(4) {
    width: 100%;
  }

  /* Search button – full width by default */
 .form-row .search-btn-cont .btn {
    width: 100%;
	border-radius: 10px !important; 
    padding: 14px !important;
  }

  /* Reset button hidden by default already */
  .reset-btn-cont .btn {
    width: 50%;
	border-radius: 10px !important; 
    padding: 14px !important;
  }

  /* WHEN reset is visible */
  .reset-btn-cont:not(.hidden) + .search-btn-cont .btn {
 
	border-radius: 10px !important; 
    padding: 14px !important;

  }
}
.filter-buttons {
 
  align-items: center;
        
}

.sort-by {
  background: #f5f8ff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 12px;
	border:1px solid #e0e7ff;
}
.modal-title{
	margin:0!important;
}

.card-action-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Half buttons row */
.action-row-half {
    display: flex;
    gap: 10px;
	margin-bottom:2px;
}

.action-row-half .footer-btn {
    width: 50%;
   
}

/* Full width Book Now */
.book-now-btn {
    width: 100%;
    
}
/* Instruction Line Styling */
.instruction-box {
    padding: 12px 11px 12px 11px;
}

.instruction-box p {
    color: #8a94a6; 
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}
 /* Modal Overlay & Dialog */
    .custom-doc-modal .modal-content {
        border-radius: 20px;
        border: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        overflow: hidden;
    }

  
    .close-btn-circle {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        transition: 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .close-btn-circle:hover {
        background: rgba(255, 255, 255, 0.4);
    }
    .header-icon-box {
        background: rgba(255, 255, 255, 0.2);
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
    }
    .header-title-text h2 {
        font-size: 22px;
        font-weight: 700;
        margin: 0;
        color: #fff;
    }
    .header-course-name {
        font-size: 13px;
        opacity: 0.8;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 5px;
        font-weight: 600;
    }

    /* Body & List Styling */
    .doc-intro-text {
        font-size: 15px;
        font-weight: 500;
        color: #6b7280;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    /* The Individual Document Card */
    .doc-card-row {
        display: flex;
        align-items: flex-start;
        background: #fff;
        margin-bottom: 15px;
        /* Optional: Add border if you want distinct boxes */
        /* border: 1px solid #eee; padding: 10px; border-radius: 10px; */
    }

    .doc-check-icon {
        width: 32px;
        height: 32px;
        background-color: #eef2ff; /* Light indigo bg */
        color: #4f46e5; /* Indigo check */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        margin-right: 15px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .doc-content h5 {
        font-size: 16px;
        font-weight: 700;
        color: #1f2937;
        margin: 0 0 2px 0;
    }

    .doc-content p {
        font-size: 14px;
        color: #6b7280; /* Gray text */
        margin: 0;
        line-height: 1.4;
    }

    /* Footer Button */
    .modal-doc-footer {
        padding: 20px 25px 30px;
    }
    .btn-have-docs {
        background: #111827; /* Dark black/blue */
        color: white;
        width: 100%;
        padding: 15px;
        border-radius: 50px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none;
        transition: 0.3s;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    .btn-have-docs:hover {
        transform: translateY(-2px);
        background: #000;
        color: #fff;
    }
/* Ensure dynamic list has correct spacing */
#document-content-area {
    padding: 10px 35px 30px 35px;
}

/* Modal Styling */
.custom-doc-modal {
    border-radius: 10px !important;
    overflow: hidden;
    border: none;
}

.modal-doc-header {
    background: linear-gradient(135deg, #5c47d3 0%, #4331b1 100%);
    padding: 16px 18px 0px 13px;
    color: white;
    position: relative;
}

.header-top-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.header-icon-box {
    background: rgba(255, 255, 255, 0.2);
    width:40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.header-title-text h2 {
    font-weight: 800;
    font-size: 16px;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
	color:white;
}

.course-subtitle-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin: 0;
    text-transform: uppercase;
}

.close-btn-circle {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.btn-confirm-docs {
    width: 100%;
    background: #0f172a;
    color: white;
    border-radius: 50px;
    padding: 16px;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 13px;
    border: none;
    text-transform: uppercase;
}

.modal-doc-footer {
    padding: 0 35px 35px 35px;
}


/* --- Modal Container --- */
.cp-modal-content {
    border: none;
    border-radius: 10px!important;
    overflow: hidden;
    background-color: #f4f6f9; 
}

/* --- Header Design (Purple) --- */
.cp-modal-header {
    background: linear-gradient(135deg, #5c47d3 0%, #4331b1 100%);
    padding: 20px 25px !important;
    border: none;
    color: white;
    position: relative;
}

.header-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.header-text h5 {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: #e0e0e0;
}

.header-text h5 span {
    font-size: 18px;
    color: #fff;
}

.institute-sub {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 4px 0 0 0;
    letter-spacing: 0.5px;
}

/* --- Card Common Styles --- */
.cp-modal-body {
    padding: 20px;
	max-height:500px;
	overflow-y:auto;
}

.cp-card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5b4eff; 
    margin-bottom: 8px;
}

/* --- Address Section --- */
.address-text {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Map Button  --- */
.cp-map-btn {
    background-color: #3f3fd4;
    color: white !important;
    border-radius: 10px !important;
    padding: 7px !important;
    font-weight: 700!important;
    font-size: 12px!important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
	border-radius:10px;
    box-shadow: 0 4px 10px rgba(91, 78, 255, 0.3);
    transition: transform 0.2s;
}

.cp-map-btn:hover {
    background-color: #4a3ecc;
    transform: translateY(-2px);
}


.landmark-card {
    background: #fff9e6; 
    border: 1px solid #ffeeba;
    padding: 9px 20px;
    border-radius: 10px;
}

.landmark-icon {
    width: 25px;
    height: 25px;
    background: #ffaa00; 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.landmark-text {
    font-weight: 700;
    color: #795548; 
    font-size: 13px;
}


.station-list ul {
    list-style: none;
    padding: 0!important;
    margin: 0;
}

.station-list li {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 8px 15px;
    border-radius: 10px ;
    margin-bottom: 8px;
    font-size: 11px;
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.station-list li strong {
    color: #333;
    text-transform: uppercase;
    font-size: 11px;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 10px;
}

.transport-group {
    margin-bottom: 20px;
}

.transport-header {
    display: flex;
    align-items: center;
    color: #a0aec0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    padding-left: 5px;
}

.transport-header i {
    font-size: 13px;
    margin-right: 8px;
    color: #718096;
}


.transport-list-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    overflow: hidden;
}


.transport-row {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    position: relative; 
}


.transport-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;  
    right: 20px; 
    height: 1px; 
    background-color: #f1f5f9;
}


.transport-row:last-child::after {
    display: none;
}

.station-name {
    font-size: 11px;
    font-weight: 700;
    color: #334155; 
    line-height: 1.4;
}


.station-badge-right {
    background: #eef2ff; 
    color: #4f46e5;   
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap; 
    letter-spacing: 0.5px;
    flex-shrink: 0; 
}
.model{
max-height:500px;
	overflow-y:auto;
}
/* --- Accommodation Modal Styles (Updated) --- */
.hostel-modal-content {
     border: none;
    border-radius: 10px!important;
    overflow: hidden;
    background-color: #f4f6f9;
}

.hostel-modal-header {

    background: linear-gradient(135deg, #5b4eff 0%, #3232b5 100%);
    padding: 20px 25px !important;
    border: none;
    color: white;
    position: relative;
}

.hostel-header-left {
    display: flex;
    align-items: center;
  
	justify-content:space-between;
}

.hostel-header-icon {
    font-size: 20px;
}

.hostel-modal-title h5 {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
	color:white
}

.hostel-modal-sub {
    font-size: 11px;
    text-transform: uppercase;

    margin-top: 2px;
    letter-spacing: 0.5px;
	  font-weight: 600;
}

.hostel-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.hostel-modal-body {
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Section Titles */
.hostel-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label-institute { color:#6c757d; }
.label-pg { color:#6c757d; margin-bottom: 8px; }

/* Cards */
.hostel-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 8px;
    position: relative;
    border: 1px solid #eee;
}

/* Badges */
.badge-recommended {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #6c5ce7;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.dist-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f3f5;
    color: #6c5ce7; /* Purple text for distance as per image style hint */
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
}

.hostel-info {
    margin-bottom: 12px;
    padding-right: 60px; /* Space for distance badge */
}

.hostel-name {
    font-size: 15px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 2px;
}

.hostel-location {
    font-size: 11px;
    color: #636e72;
    line-height: 1.3;
}

/* Footer Row */
.hostel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* Green Price Tag (Used for both) */
.price-tag-green {
    background: #e9fbf0; /* Light green bg */
    color: #20bf6b;     /* Green text */
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
}

.food-status {
    font-weight: 500;
    font-size: 11px;
    color: #555; /* Slightly darker for readability inside tag */
}

/* Buttons */
.btn-hostel-action {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    min-width: 90px;
    text-align: center;
}

.btn-book {
    background: #3f3fd4;
    color: white;
}

.btn-enquire {
    background: #3f3fd4;
    color: white;
}
/* --- Callback Modal Styles --- */
.callback-modal-content {
    border-radius: 10px !important;
    border: none;
    overflow: hidden;

    background: #fff;
}

.callback-modal-header {
    background: linear-gradient(135deg, #5b4eff 0%, #3232b5 100%); 
    color: white;
    padding: 20px 25px;
    border: none;
    display: flex;
    align-items: center;
    position: relative;
}

.callback-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.callback-title h5 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
	color:#fff;
}

.callback-sub {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 3px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.callback-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.callback-body {
    padding: 25px 30px;
}

.callback-desc {
    font-size: 13px;
    color: #636e72;
    margin-bottom: 25px;
    line-height: 1.6;
}

.callback-desc strong {
    color: #5d44e6;
}

.form-group-custom {
    margin-bottom: 20px;
}

.form-label-custom {
    font-size: 11px;
    font-weight: 700;
    color: #55595c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.form-input-custom {
    width: 100%;
    background: #f5f6fa;
    border: 1px solid #dfe6e9;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    color: #55595c;
    transition: 0.3s;
}

.form-input-custom:focus {
    outline: none;
    border-color: #5d44e6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(93, 68, 230, 0.1);
}

.btn-callback-submit {
    width: 100%;
    background: #3f3fd4 !important;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(93, 68, 230, 0.3);
    cursor: pointer;
    transition: 0.2s;
}

.btn-callback-submit:hover {
    background: #4b36c7;
    transform: translateY(-2px);
}
/* --- Custom Modal Styling --- */
.custom-modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.book-modal .modal-content {
    border-radius: 24px;
    border: 0;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    background: #ffffff;
}

/* Custom Scrollbar for the form container */
#step-1-form::-webkit-scrollbar {
    width: 6px;
}
#step-1-form::-webkit-scrollbar-track {
    background: #f1f5f9;
}
#step-1-form::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

/* --- Header Section --- */
.modal-header-custom {
    background: linear-gradient(to right, #f8fafc, #ffffff);
    border-bottom: 1px solid #f1f5f9;
    padding: 30px 40px;
    position: relative;
}

.institute-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.course-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 5px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    z-index: 10;
}
.modal-close-btn:hover {
    background: #e2e8f0;
    color: #ef4444;
    transform: rotate(90deg);
}

/* --- Form Elements --- */
.form-container-padding {
    padding: 30px 40px 40px 40px;
}

.input-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.custom-input {
    height: 50px;
    border-radius: 12px;
    background-color: #f8fafc; /* Light gray background */
    border: 1px solid #e2e8f0;
    padding-left: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    width: 100%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    outline: none;
}

.input-icon-wrap { position: relative; }
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}
.input-with-icon { padding-left: 45px; }

/* --- Date Selection --- */
.date-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.date-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    user-select: none;
}

.date-card:hover:not(.disabled) {
    border-color: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.date-card.selected {
    border-color: #4f46e5;
    background-color: #4f46e5; /* Full color fill */
    color: white;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}

.date-card.selected .date-val { color: white; }
.date-card.selected .date-status { color: rgba(255,255,255,0.8); }

.date-card.disabled {
    opacity: 0.5;
    background: #f1f5f9;
    cursor: not-allowed;
    border-style: dashed;
}

.date-val {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.date-status {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
/* Status Colors (Default state) */
.text-green { color: #10b981; }
.text-orange { color: #f59e0b; }
.text-red { color: #ef4444; }

/* --- Premium Bundle Section (Dark Theme) --- */
.dark-bundle-box {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 16px;
    padding: 16px;
    margin-top: 10px;
    color: white;
    border: 1px solid #334155;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bundle-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.bundle-row-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: 0.2s;
    overflow: hidden;
}

.bundle-row-wrapper:hover {
    background: rgba(255,255,255,0.06);
}

.bundle-row-wrapper.active {
    background: rgba(79, 70, 229, 0.15); /* Indigo tint */
    border-color: #6366f1;
}

.bundle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
}

.bundle-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bundle-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    accent-color: #6366f1;
    cursor: pointer;
}

.bundle-name { font-size: 14px; font-weight: 600; color: #f1f5f9; }
.bundle-price { font-size: 14px; font-weight: 700; color: #a5b4fc; }

/* Bundle Dates */
.bundle-dates-area {
    padding: 0 14px 14px 46px;
    display: none;
    flex-wrap: wrap;
    gap: 8px;
}
.bundle-row-wrapper.active .bundle-dates-area { display: flex; animation: slideDown 0.2s ease-out; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.sub-date-chip {
    background: #334155;
    color: #cbd5e1;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.sub-date-chip:hover { background: #475569; color: white; }
.sub-date-chip.selected {
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(255,255,255,0.15);
}

/* --- Action Buttons --- */
.btn-finalize {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: white;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-finalize:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
}

/* --- Success Screen --- */
.success-card {
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
}
.receipt-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

/* --- Mobile --- */
@media (max-width: 576px) {
    .modal-header-custom { padding: 20px; }
    .form-container-padding { padding: 20px; }
    .date-grid { grid-template-columns: repeat(3, 1fr); }
    .custom-input { font-size: 16px; /* Prevents iOS zoom */ }
}