/* Custom styles for the dashboard */
body {
	font-family: 'Inter', sans-serif;
	/* Using Inter font */
	background-color: #f0f2f5;
	/* Light grey background */
	overflow-x: hidden;
}

.dashboard-container {
	min-height: 100vh;
	/* Full viewport height */
	display: flex;
	/* Use flexbox for main layout */
	flex-direction: column;
	/* Stack vertically on small screens */
	padding: 1rem;
	/* Padding around the entire dashboard */
}

.left-panel {
	background-color: #ffffff;
	/* White background for left panel */
	border-radius: 0.75rem;
	/* Rounded corners */
	padding: 1.5rem;
	/* Inner padding */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	/* Subtle shadow */
	margin-bottom: 1rem;
	/* Space below on small screens */
}

.right-panel {
	background-color: #ffffff;
	/* White background for right panel */
	border-radius: 0.75rem;
	/* Rounded corners */
	padding: 1.5rem;
	/* Inner padding */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	/* Subtle shadow */
	display: flex;
	/* Flex container for canvas */
	justify-content: center;
	/* Center canvas horizontally */
	align-items: center;
	/* Center canvas vertically */
	position: relative;
}

.canvas-placeholder {
	width: 100%;
	/* Take full width of its container */
	height: 400px;
	/* Fixed height for placeholder, adjust as needed */
	background-color: #e2e8f0;
	/* Light blue-grey background */
	border: 2px dashed #94a3b8;
	/* Dashed border */
	border-radius: 0.5rem;
	/* Rounded corners for canvas */
	display: flex;
	justify-content: center;
	align-items: center;
	color: #475569;
	/* Darker text color */
	font-size: 1.25rem;
	/* Larger font size */
	font-weight: 600;
	/* Semi-bold text */
}

/* Responsive adjustments using Tailwind's utility classes for larger screens */
@media (min-width: 992px) {

	/* Equivalent to Bootstrap's lg breakpoint */
	.dashboard-container {
		flex-direction: row;
		/* Arrange horizontally on large screens */
	}

	.left-panel {
		flex: 0 0 30%;
		/* Left panel takes 30% width */
		max-width: 30%;
		/* Ensure it doesn't grow beyond 30% */
		margin-right: 1rem;
		/* Space between panels */
		margin-bottom: 0;
		/* Remove bottom margin on large screens */
	}

	.right-panel {
		flex: 1;
		/* Right panel takes remaining space (70%) */
		max-width: 70%;
		/* Ensure it doesn't grow beyond 70% */
	}
}

/* Further refinement for desktop to meet 60-75% requirement for right panel */
@media (min-width: 1200px) {

	/* Equivalent to Bootstrap's xl breakpoint */
	.left-panel {
		flex: 0 0 25%;
		/* Left panel takes 25% width */
		max-width: 25%;
		background-image: url(/static/wsddt/csu-background.jpg);
		background-repeat: no-repeat;
		background-position-y: bottom;
		background-size: contain;
	}

	.right-panel {
		flex: 1;
		/* Right panel takes remaining space (75%) */
		max-width: 75%;
	}
}

.hidden {
	display: none !important;
}


@media (max-width:600px) {
	p#defaultMsg {
		max-width: 300px;
	}
}

/*button#explainGraph {*/
/*	position: fixed;*/
/*	bottom: 20px;*/
/*	right: 50px;*/
/*}*/

/*#explore {*/
/*	position: fixed;*/
/*	bottom: 80px;*/
/*	right: 50px;*/
/*}*/


/** Modal */
.modal-dialog {
	max-width: 800px;
}

.pagination-content {
	position: relative;
}

.pagination-content {
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 2rem;
	margin: 1rem 0;
}

.page-indicator {
	font-size: 0.9rem;
	color: #6c757d;
}

.btn-pagination {
	min-width: 80px;
}

.content-slide {
	opacity: 0;
	transform: translateX(20px);
	transition: all 0.3s ease-in-out;
	width: 100%;
	position: absolute;
}

.content-slide.active {
	opacity: 1;
	transform: translateX(0);
}

.modal-dialog-scrollable .modal-body {
	overflow-x: hidden;
	padding-top: 50px;
}

.navbar-brand footer.blockquote-footer.float-end {
	margin-top: 0px;
	font-size: 0.7em;
}

@media (max-width:764px) {
	.modal-dialog-scrollable .modal-body {
		padding-top: 80px;
	}
}

@media (max-width:580px) {
	.modal-dialog-scrollable .modal-body {
		padding-top: 130px;
	}
}

@media (max-width:480px) {
	.modal-dialog-scrollable .modal-body {
		padding-top: 180px;
	}
}

.modal-dialog-interactive {
	max-width: 1200px;
}

.modal-dialog-interactive.enlarged {
	max-width: 100%;
	max-height: 100%;
	height: 100%;
	margin-top: 0;
}

#enlargeExplore {
	position: absolute;
	right: 0px;
	font-size: 24px;
	width: 34px;
	height: 34px;
	text-align: center;
	border-radius: 50%;
	line-height: 32px;
	cursor: pointer;
}

#downloadGraph {
	position: absolute;
	top: 30px;
	left: 30px;
}

.dropdown-menu.show {
	width: 250px;
}

#aboutModal .modal-content {
	padding: 14px;
}

/* Progress Display Styles */
#progress {
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px;
	background-color: #f9f9f9;
	font-family: 'Courier New', monospace;
	font-size: 12px;
	margin: 10px 0;
	position: absolute;
	top: 10px;
	right: 10px;
}

.progress-message {
	margin: 2px 0;
	padding: 2px 5px;
	border-radius: 3px;
	line-height: 1.4;
}

.progress-message .timestamp {
	color: #666;
	font-weight: bold;
	margin-right: 5px;
}

.progress-message .message {
	color: #333;
}

/* Message type styles */
.progress-info {
	background-color: #e3f2fd;
	border-left: 3px solid #2196f3;
}

.progress-warning {
	background-color: #fff3e0;
	border-left: 3px solid #ff9800;
}

.progress-error {
	background-color: #ffebee;
	border-left: 3px solid #f44336;
}

.progress-success {
	background-color: #e8f5e8;
	border-left: 3px solid #4caf50;
}

.progress-debug {
	background-color: #f3e5f5;
	border-left: 3px solid #9c27b0;
}

/* Scrollbar styling for webkit browsers */
#progress::-webkit-scrollbar {
	width: 8px;
}

#progress::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

#progress::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

#progress::-webkit-scrollbar-thumb:hover {
	background: #555;
}

#dashboardIntro {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out;
}

#dashboardIntro.expanded {
	max-height: 1000px;
	padding: 1rem;
}

#timingOverlay {
	position: absolute;
	top: calc(50% + 100px);
	text-align: center;
}

#timingOverlay.hidden {
	display: none;
}

.btn-plus, .btn-minus {
    height: 100%;
    background: #fff;
    border-color: #dee2e6;
}

.btn-plus {
    border-radius: 0 5px 5px 0;
}

.btn-minus {
    border-radius: 5px 0 0 5px ;
}
#sidebar-logo {
    display:none;
}































/*style.css*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #f7f7f7;
}

.chatBot {
  border: 3px solid #2F8D46;
  border-radius: 10px;
  margin: 50px auto 0;
  overflow: hidden;
  width: 340px;
  overflow-y: clip;
  height: 44px;
  background: rgb(255, 255, 255) url(gfg-gg-logo.svg);
  background-size: contain;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  bottom: 0;
  right: 10px;
}

.chatBot.open {
  /*border: 3px solid #2F8D46;*/
  /*border-radius: 10px;*/
  /*margin: 50px auto;*/
  /*overflow: hidden;*/
  /*width: 340px;*/
  /*overflow-y: clip;*/
  height: 400px;
  /*background: rgb(255, 255, 255) url(gfg-gg-logo.svg);*/
  /*background-size: contain;*/
  /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);*/
  /*background-repeat: no-repeat;*/
  /*background-position: center;*/
}

header {
  background-color: #2F8D46;
  text-align: center;
  padding: 10px 0;
  border-radius: 7px 7px 0 0;
}

.chatBot header h2 {
  color: #fff;
  margin: 0;
  font-size:1rem;
}

.chatbox {
  padding: 15px;
  list-style: none;
  overflow-y: auto;
  height: 180px;
}

.chatbox li {
  margin-bottom: 10px;
}

.chat p {
  padding: 10px;
  border-radius: 10px;
  max-width: 70%;
  word-wrap: break-word;
}

.chat-outgoing p {
  background-color: #162887;
  align-self: flex-end;
  color: #fff;
}

.chat-incoming p {
  background-color: #eaeaea;
}

.chat-input {
  padding: 10px;
  border-top: 1px solid #ccc;
}

.chat-input textarea {
  width: 522px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 7px;
  resize: none;
  outline: none;
  overflow-y: scroll;
  background-color: #dcdcdc85;
  font-size: 16px;
  color: green;
  font-weight: 600;
  margin-top: -10px;
  margin-left: -15px;
  height: 71px;
}

#cross {
  float: right;
  position: relative;
  top: -38px;
  left: -15px;
  cursor: pointer;
  color: white;
  font-weight: bolder;
  font-size: 28px;
}

#cross:hover {
  color: red;
  transition: all .5s;
}

.chatbox .chat p.error {
  color: #ffffff;
  background-color: #ff3737e8;
}

#sendBTN {
  width: 100%;
  padding: 8px;
  border: 0;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 7px;
  background-color: #2F8D46;
  cursor: pointer;
  color: white;
  margin-top: 12px;
}

.lastMessage {
  margin-top: 50px;
  font-size: 35px;
  font-weight: 600;
  color: darkgreen;
  margin-left: 550px;
}

/* Chat */
#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index:9999;
}

#chat-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 1000;
}

#chat-header {
    background: #2c3e50;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    font-size: 14px;
}

#chat-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

#user-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
#chat-input-area button {
    color: #f2ecf6;
    background: #2c3e50;
    width: 50px;
}
.hidden { display: none !important; }
.typing-indicator {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 15px;
    width: fit-content;
    margin-bottom: 10px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background: #2c3e50;
    border-radius: 50%;
    display: block;
    margin: 0 2px;
    opacity: 0.4;
    animation: bounce 1s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-5px); opacity: 1; }
}

.hidden { display: none !important; }