.sched-row-container {
    display: flex !important;
    align-items: flex-end !important;
    margin-bottom: 15px !important;
}

/* Enforces rigid layout rules for mobile viewports */
.sched-row-container .col.s4 {
    width: 33.33333% !important;
    margin-left: auto !important;
    left: auto !important;
    right: auto !important;
}

/* Adaptive, responsive typography labeling */
.sched-label-text {
    font-size: 0.9rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Standardizes geometry across browser selectors and time nodes */
.sched-input-field {
    width: 100% !important;
    height: 3rem !important;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #9e9e9e !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.dataTables_wrapper .dt-buttons {
	float:none;  
	text-align:right;
  }
  
.dt-button.copyButton {
	background-color: #4A59E8;padding: 5px 15px;border-color: #4A59E8;color: white;border-radius: 10px;border: solid;
  }
  
  .dt-button.excelButton {
	background-color: #1B8A0A;padding: 5px 15px;border-color: #1B8A0A;color: white;border-radius: 10px;border: solid;
  }
  
  .dt-button.pdfButton {
	background-color: #FF1D1D;padding: 5px 15px;border-color: #FF1D1D;color: white;border-radius: 10px;border: solid;
  }

.counseling-button {
    color: white;
    border-radius: 10px;
    border: solid;
}

.dreport {
    border-color:  #013220 ;
    background-color:  #013220 ;
    margin: 3px;
}

.dfeedback {
    border-color: #F40000;
    background-color: #F40000;
    margin: 3px;
}

.tabs .tab a{
    color:#800000;
} /*Black color to the text*/

.tabs .tab a:hover {

    color:#800000;
} /*Text color on hover*/

.tabs .tab a.active {
    background-color:#800000;
    color:#eee;
} /*Background and text color when a tab is active*/

.tabs .indicator {
    background-color:#eee;
} /*Color of underline*/

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
  }
  
.bg-image {
	/* Full height */
	height: 50%; 
  
	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
  }

.main-text{
	font-weight: bold;
  	font-size: 1em;
}

.sub-text{
  	font-size: 0.9em;
	line-height: 1.2em;
}

.upmaroon {
	color: #8D1436;
}

.upgreen {
  color: #00563f;
}

.center {
	margin: auto;
	width: 80%;
}

#started-btn{
	margin-bottom:40px;
}

.header-container {
  height: 100%;
  position: relative;
  text-align: center;
  color: white;
  margin:0;
  padding:0;
  background-image: url('/ui/images/counseling-bg.png');
  background-repeat: no-repeat;
  background-size:cover;            
  background-position: center center;  
}

.one-text{
	text-shadow: black 0.1em 0.1em 0.2em
}

.centered {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Top left text */
.top-left {
	position: absolute;
	top: 0.2vw;
	left: 0.2vw;
  }

.consult-btn {
	padding:0.8vw;
	padding-left: 2vw;
	padding-right: 2vw;
    color:#f5f5f5;
    text-align:center;
	border-radius: 12px;
    background: #00563f;
    font-size:1vw;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.consult-btn:hover {
    background: #003d2c
}

.main-text{
	font-size: 1vw;
}

.sub-text{
	font-size: 1vw;
}

.main-icon{
	width: 5vw;
}

.main-arrow{
	width: 3.5vw;
	margin-top: 2vw;
}
  
.one {
	height: 50vh;
}

.two {
	height: 50vh;
}

.dashboard-header{
	font-size: 1vw;
}

.dashboard-text{
	font-size: 0.85vw;
	color: black;
}

#dashboard-card-2 p{
	font-size: 0.9vw;
}

#dashboard-card-2 a{
	font-size: 0.9vw;
}

#dashboard-card-2 input{
	width: 15vh;
	height: 5vh;
	font-size: 2vh;
}

#dashboard-card-2 select{
	width: 16vh;
	height: 5vh;
	font-size: 2vh;
}

#form_SchedulePM .black-text{
	font-size: 1.7vh;
}

#form_ScheduleGSS .black-text{
	font-size: 1.7vh;
}

#submit-pm-btn{
	font-size: 2vh;
}

#submit-gss-btn{
	font-size: 2vh;
}

#faq-modal .modal-content{
	margin: 5vh;
	height: 70vh;
	overflow-y: auto;
}

#dashboard-card-2{

	background-image: url('/ui/images/counseling_icons/dashboard-bg.png');
	background-position: center; /* Center the image */
  	background-repeat: no-repeat; /* Do not repeat the image */
  	background-size: cover; /* Resize the background image to cover the entire container */

	display: flex;
	justify-content: center;
	align-items: center;
}

.upmaroon {
	color: #8D1436;
}

.center {
	margin: auto;
	width: auto;
	padding: 10px;
}

.actions {
    text-align: center;
}

#started-btn{
	margin-bottom:40px;
}

/*  */

.events li { 
	display: flex; 
	color: #999;
}
  
.events a { 
	position: relative;
	padding: 0 1.2vw;  
}
  
.events a::after { 
	content: "";
	position: absolute;
	z-index: 2;
	right: 0;
	top: 0;
	transform: translateX(50%);
	border-radius: 50%;
	background: #fff;
	border: 1px black solid;
	width: 1.2vw;
	height: 1.2vw;
}

.events a.active::after { 
	background: #ffb61c;
	width: 1.2vw;
	height: 1.2vw;
}

.events a.done::after { 
	background: #003d2c;
	width: 1.2vw;
	height: 1.2vw;
}

.events .dashboard-text {
	padding: 0 1.5vw 1.5vw 1.5vw;
	position: relative;
}
  
.dashboard-date {
	color:black;
	font-weight: normal
}

.events .dashboard-text::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 0;
	height: 100%;
	border-left: 1px black solid;
}

.events .dashboard-text.end::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 0;
	height: 0%;
	border-left: 1px white solid;
}
  
.events strong {
	display: block;
	font-weight: bolder;
}
  
.events { margin: 1vw; width: 100%; }
.events, 
.events *::before, 
.events *::after { box-sizing: border-box; font-family: arial; }

#view-records-btn {
	padding:0.8vw;
	float:right;
    border: 2px solid #f5f5f5;
    color:#f5f5f5;
    text-align:center;
	border-radius: 12px;
    background: #00563f;
    font-size:0.9vw;
	align-items: center;
	display: flex;
	margin-right: 1.3vw;
}
#view-records-btn:hover {
    background: #003d2c
}

.text-bold{
	font-weight: bold;
}

.ongoing{
	font-weight: bold;
	color: #ffb61c
}

.done{
	font-weight: bold;
	color: #003d2c
}

.counseling-btn {
	padding:10px;
	padding-left: 20px;
	padding-right: 20px;
    color:#f5f5f5;
    text-align:center;
	border-radius: 12px;
    background: #00563f;
    font-size:15px;
}
.counseling-btn:hover {
    background: #003d2c
}

.counseling-rej-btn {
	padding:10px;
	padding-left: 20px;
	padding-right: 20px;
    color:#f5f5f5;
    text-align:center;
	border-radius: 12px;
    background: #8D1436;
    font-size:15px;
}
.counseling-rej-btn:hover {
    background: #8D1436
}

.modal {
  text-align: center;
  /* overflow-y:scroll;   */
}

.booking-button {
  color: white;
  border-radius: 10px;
  border: solid;
}

.modal-buttons {
    margin-top: 35px;    
}

.counseling-thead {
	background-color: #8D1436;
	color: white;
}

.modal-thead {
	width: 20%;
}

.modal-cancel-button {
background-color: #F40000;
padding: 5px 8px;
border-color: #F40000;
}

.modal-cancel-button:hover {
background-color: #B10909;
border-color: #B10909;
}

.modal-close-button {
  background-color: #FFB61C;
  padding: 5px 8px;
  border-color: #FFB61C;
}

.modal-close-button:hover {
  background-color: #d39528;
  border-color: #d39528;
}

.modal-confirm-button {
    background-color: hsl(120, 100%, 25%);
    padding: 5px 8px;
    border-color:  #008000;
  }
  
.modal-confirm-button:hover {
    background-color:#006400;
    border-color: #006400;
  }
  
.counseling-button {
    color: white;
    border-radius: 10px;
    border: solid;
}

.input-form {
	width: 100% !important;
	height: 3rem !important;
	border: solid !important;
	border-radius: 5px !important;
	box-sizing: border-box !important;
	padding-left: 10px !important;
}

.input-form-dd {
	width: 100% !important;
	height: 3rem !important;
	border: solid !important;
	border-radius: 5px !important;
	box-sizing: border-box !important;
	padding-left: 10px !important;
}

.sched-days {
	background-color: #ecffe5;
}

.sched-time {
	background-color: #ecffe5 !important;
	padding-left: 10px !important;
}

.input-form-tarea {
	width: 100% !important;
	border: solid !important;
	border-radius: 5px !important;
	box-sizing: border-box !important;
	padding-left: 10px !important;
}

.modal-approve-button{
	background-color: #00563f;
	margin-right: 20px;
    padding: 5px 8px;
    border-color: #00563f;
}

.modal-cancel-button{
	background-color: #8D1436;
    padding: 5px 8px;
    border-color: #8D1436;
}

table.striped-columns tbody td:nth-of-type(even),
table.striped-columns th:nth-of-type(even){
	background: rgb(235, 227, 209);
}

table.border {
    border-collapse: collapse;
    border-spacing: 0;
}
table.border td,
table.border th {
    border: 1px solid grey;
    padding: 3px;
}

.td-radio{
	text-align:center
}

.resched {
    border-color: #641975;
    background-color: #641975;
    margin: 3px;
}

.conclude {
    border-color: #C52121;
    background-color: #C52121;
    margin: 3px;
}

.cancel {
    border-color: black;
    background-color: black;
    margin: 3px;
}

.button-disabled {
	border-color: #DEDEDE;
    background-color: #DEDEDE;
    margin: 3px;
}

.request {
    border-color: #0096FF;
    background-color: #0096FF;
    margin: 3px;
}

.notes {
    border-color: #FFA500;
    background-color: #FFA500;
    margin: 3px;
}

.report {
    border-color: #FFA500;
    background-color: #FFA500;
    margin: 3px;
}

.follow-up {
    border-color: #FFA500;
    background-color: #FFA500;
    margin: 3px;
}

.transfer {
    border-color: #FF6347;
    background-color: #FF6347;
    margin: 3px;
}

.change-medium {
    border-color: #00d0d0;
    background-color: #00d0d0;
    margin: 3px;
}



.confirm {
    border-color: #006400;
    background-color: #006400;
    margin: 3px;
}

.assign {
    border-color: #006400;
    background-color: #006400;
    margin: 3px;
}

.feedback {
    border-color: #F5880B;
    background-color: #F5880B;
    margin: 3px;
}


.actionable-table td:last-child {
	text-align: center !important;
}

.c-header {
    font-family: 'BodoniXT', sans-serif;
}

.float{
	bottom:30px;
	right:30px;
	position:fixed;
	color:#FFF;
	border-radius:50px;
	text-align:center;
	z-index: 9999;
}

.float-note{
	top:60px;
	right:30px;
	position:fixed;
	color:#FFF;
	border-radius:50px;
	text-align:center;
	z-index: 9999;
}

.confirm-modal{
	margin-top: 10%;
}


/* media queries for mobile view */

@media screen and (max-width: 820px) {
	#faq-modal .modal-content{
		font-size: 1.5vh;
		margin: 0vh !important;
	}

	.consult-btn {
		margin-top:2vh;
		padding:2vh;
		padding-left: 2vh;
		padding-right: 2vh;
		color:#f5f5f5;
		text-align:center;
		border-radius: 12px;
		background: #00563f;
		font-size:2.2vh;
		box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	}

	#psa-modal{
		display: none;
		visibility: hidden;
	}

	.centered{
		margin:0;
		padding:0;
	}

	.one {
		height: 100vh;
	}

	.one-text-1{
		font-size: 3vh !important;
	}

	.one-text-2{
		font-size: 2vh !important;
	}
	
	.two {
		height: 0;
		display:none;
		visibility:hidden;
	}

	#how-it-works{
		display:none;
		visibility:hidden;
	}

	#dashboard-card-2 p{
		font-size: 3vw;
	}
	
	#dashboard-card-2 a{
		font-size: 3vw;
	}

	#card-1 {
	  visibility: hidden;
	  display: none;
	}

	#card-2{
		width: 100%;
		margin:0;
	}

	#header-icon{
		width: 100%;
	}

	/* #header-btn{
		visibility: hidden;
		display:none;
	} */
}

  
.tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: gray;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	
	/* Position the tooltip */
	position: absolute;
	z-index: 1;
  }
  
.button-disabled:hover .tooltiptext {
	visibility: visible;
}


#view_igq_button:hover .tooltiptext {
	visibility: visible;
}

.table-flex {
	width: 100% !important; 
	overflow-x: scroll;
  }

/* Custom Tabs CSS for */
.tabs .tab a{
    color:#800000;
    font-weight: bold;
    text-transform: uppercase;
} 

.tabs .tab a:hover {
    color:#800000;
} 

.tabs .tab a.active {
    background-color:#FFC107;
    color:#333;
} 

.tabs .indicator {
    background-color:#800000;
}

.gss-done-tabs.tabs {
    display: inline-flex;
    background-color: transparent;
    width: auto;
}

.gss-done-tabs .tab {
    width: auto;
}

.gss-done-tabs .tab a {
    color: #242424;
    background-color: #e6e6e6;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
}

.gss-done-tabs .tab:first-child a {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.gss-done-tabs .tab:last-child a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.gss-done-tabs .tab a:hover {
    color: white;
    background-color: #8D1436;
}

.gss-done-tabs .tab a.active {
    background-color: #8D1436;
    color: #fdfdfd;
}

.gss-done-tabs .tab a.active .tab-badge {
    background-color: #ff9800 ;
    color: #ffffff;
}

.gss-done-tabs .indicator {
    display: none;
}

.tab-badge {
    background-color: #4CAF50;
    color: #f7f7f7 !important;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    min-width: 25px;
    text-align: center;
}

.counseling-btn-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
	margin-bottom: 30px;
}
.counseling-btn-green {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #008060 0%, #00563f 100%);
    color: #fff !important;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,86,63,0.10);
    border: none;
    padding: 14px 28px;
    text-align: center;
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s;
    min-width: 220px;
    max-width: 260px;
}
.counseling-btn-green:hover, .counseling-btn-green:focus {
    background: linear-gradient(90deg,#00563f 0%,#008060 100%);
    box-shadow: 0 4px 16px rgba(0,86,63,0.18);
    color: #fff !important;
    text-decoration: none;
}
.counseling-btn-green i.material-icons {
    font-size: 1.3em;
    margin-right: 5px;
}

.counseling-info-card {
    background: linear-gradient(90deg, #800000 0%, #b71c1c 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(128,0,0,0.10);
    padding: 28px 35px 22px 35px;
    text-align: left;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.counseling-info-flex {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.counseling-info-title {
    font-size: 1.12rem;
    font-weight: 600;
    display: block;
}
.counseling-info-list {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 400;
}
.counseling-info-list ul {
    margin: 8px 0 0 0px;
    padding: 0;
    color: #ffe0e0;
}
.counseling-gss-details {
    margin-top: 20px;
    background: rgba(255,255,255,0.10);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.97rem;
}
.counseling-gss-details .material-icons {
    font-size: 1em;
    vertical-align: middle;
}
.counseling-gss-details a {
    color: #ffe0e0;
    text-decoration: underline;
}
.btn-flex-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Counseling user dashboard status*/

.modern-card {
    background: linear-gradient(135deg,#f8f8f8 60%,#e0f2f1 100%);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,86,63,0.10);
    padding: 0;
}
.modern-events-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 8px;
    position: relative;
}
.modern-events-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    position: relative;
    min-height: 56px;
}
.modern-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg,#777777 0%,#7d7e7d 100%);
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(0,86,63,0.10);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    font-size: 1.4em;
    color: #fff;
}
.modern-step-circle.end::before {
    content: '\2713';
    font-size: 1.2em;
    color: #fff;
    font-weight: bold;
}
.modern-step-circle.end {
    background: linear-gradient(135deg,#00563f 0%,#008060 100%);
    border: 2px solid #008060;
    color: #fff;
}
.modern-step-circle.start {
    background: linear-gradient(135deg,#ffd037 0%,#eeba0f 100%);
    border: 2px solid #ffd037;
    box-shadow: 0 0 0 4px #ffe08255;
}
.modern-step-line {
    width: 8px;
    height: 62px;
    background: linear-gradient(180deg,#e0e0e0 0%,#b2dfdb 100%);
    position: absolute;
    left: 11.5px;
    top: 20px;
    z-index: 1;
    border-radius: 2px;
    margin-right: 0;
}
.modern-step-line.done {
    background: linear-gradient(180deg, #00563f 0%, #008060 100%);
}
.modern-step-line.active {
    background: linear-gradient(180deg, #ffd037 0%, #eeba0f 100%);
}
.modern-step-line.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #00563f 0%, #008060 100%);
    animation: fillLine 2s ease-in-out forwards;
}
@keyframes fillLine {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}


.modern-events-list li:last-child .modern-step-line {
    display: none;
}
.modern-step-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.modern-step-title {
    font-size: 1.08rem;
    color: #313131;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.8;
}
.modern-step-circle.done {
    background: linear-gradient(135deg, #008060 0%, #00563f 100%);
    border: 2px solid #008060;
    color: #fff;
    position: relative;
}
.modern-step-circle.done::before {
    content: '\2713';
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.modern-step-circle.active {
    background: linear-gradient(135deg, #ffd037 0%, #eeba0f 100%);
    border: 2px solid #ffd037;
    box-shadow: 0 0 0 4px #ffe08255;
    color: #008060;
}

.btn-flat.view-session-btn {
    transition: background 0.2s;
    font-weight: 800;
}

.btn-flat.view-session-btn:hover,
.btn-flat.view-session-btn:focus {
    background: #f8eaea !important;
    color: #800000 !important;
    cursor: pointer;
    border-radius: 8px;
}

#dashboard-card-1,
#dashboard-card-2 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    height: 100%;
    width: 100% !important;
}

#dashboard-card-2 .card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center; 
    height: 100%;
    width: 100% !important;
}

.counseling-info-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    height: 100%;
    width: 100% !important;
    min-height: 100dvh  !important;
    min-width: 70dvh  !important;
    max-width: 70dvh  !important;
}

@media screen and (max-width: 820px) {
    #dashboard-card-1,
    #dashboard-card-2 {
        flex: unset;
        display: block;
        justify-content: unset !important;
        align-items: unset !important;
        height: auto !important;
        width: 100% !important;
        min-height: unset !important;
        padding: 0 !important;
    }

    #dashboard-card-2 .card-content {
        flex: unset;
        display: block;
        justify-content: unset !important;
        align-items: unset !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .counseling-info-card {
        flex: unset;
        display: block;
        justify-content: unset !important;
        align-items: unset !important;
        height: auto !important;
        width: 100% !important;
        min-height: unset !important;
        min-width: unset !important;
        padding: 16px 8px !important;
        box-sizing: border-box;
    }

    .header-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px 4vw !important;
        text-align: left !important;
        background-size: cover !important;
    }

    .header-container .profile-info {
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
    }

    .header-container img,
    .header-container .avatar {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .header-container .welcome-text {
        font-size: 1.1rem !important;
    }

    #header-btn, .header-buttons {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 10px !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    #faq-btn, #view-records-btn {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 12px 0 !important;
        border-radius: 10px !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    .counseling-btn-group {
        flex-direction: column !important;
        gap: 12px !important;
        justify-content: stretch !important;
        align-items: stretch !important;
        align-items: center !important;
        margin-top: 18px !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .counseling-btn-green,
    #request-btn,
    #continue-btn {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        font-size: 1rem !important;
        padding: 14px 0 !important;
        border-radius: 10px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
}