html{
	height:100%;
}
body {
	background: radial-gradient(circle, rgba(35, 35, 50, 0.75) 0%, rgba(20, 20, 30, .95) 100%);
	margin:0px;
    padding:0px;
    font-family:Arial, sans-serif;
    display:flex;
    flex-direction: column;
    height:100%;
	width:100%;
    box-sizing:border-box;
    background-color: #1a1a1d; /* Fallback background color */
    background-blend-mode: normal; /* Keeps the gradient in focus */
}










#search_container{
	width:100%;
	display: flex;
	justify-content: center;
	align-items: center; 
}
#search_border{
	background-color:#2d2d30;
	padding-top:  1vw;
	padding-left: 2vw;
	padding-right:2vw;
	box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.4);
	margin-top:4vw;
	margin-bottom:.5vw;
}
#search_grid{
	display: flex;
	flex-direction:column;
	justify-content: center;
	align-items: center; 
}
#search_btns{
	width:80%;
	
}
#searchbox{
	position:relative;
}
#engineSelect{
	background-color:#5f6368;
	border:0px;
	height:1.6vw;
	width:60%;
	border-radius:.1vw;
	margin-bottom:0.5vw;	
	padding:0.1vw;
	padding-left:0.5vw;
	font-size:1.2em;
	color:white;
}
#engineSelect:hover{
	cursor:pointer;
}

#searchSubmit{
	width:38%;
	border:0px;
	height:1.6vw;
	border-radius:.1vw;
	margin-bottom:0.5vw;
	padding:0.1vw;
	font-size:1.2em;
	color:white;
}
#searchSubmit:hover{
	cursor:pointer;
}


#searchInput{
	background-color:#5f6368;
	border:0px;
	height:2vw;
	width:20vw;
	border-radius:1vw;
	margin-bottom:0.5vw;
	padding:0.5vw;
	padding-left:2vw;
	font-size:1.8em;
	color:white;
	
}
#searchInput:focus {
    border: 0px;
	outline:none;
}

#task_grid_container{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:row;

}


#grid_container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 2em;
	justify-items: center;
	align-items: center;
	width: 100%;
	max-width: 1200px; /* 👈 cap the total grid width */
	margin: 0 auto;
	padding: 2em;
	box-sizing: border-box;
	color: white;
	overflow-y: auto;
}



.grid_box {
	width: 160px;
	height: 160px;
	min-width: 160px;
	min-height: 160px;  
	max-width: 240px;
	max-height: 240px;
	display: flex;
	justify-content: center;
	align-items: center; 
	background-color: gray;
	z-index: 2;
	transition: transform 0.2s ease-in-out; 
	box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.4);
}


.grid_box:hover{

	cursor:pointer;
	box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.6);
	transform: scale(1.05);
}
#searchglass_container{
	position:absolute;
	top: 0.5vw;
	left:0.5vw;
}
.search_glass{
	height:1vw;
	width:1vw;
	border:1px solid white;
}

/*========== LOGIN  ==========*/
#login_container{
	width:100%;
	height:100%;
	display:flex;
	justify-content: center;
	align-items: center;
	color:white;
}
#login_box{
	background-color:#2d2d30;
	width:20vw;
	display:flex;
	flex-direction:column;
	justify-content: center;
	align-items: center;
	color:white;	
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    margin: 100px auto 20px auto;
    padding: 20px;
    background: rgba(25, 25, 25, 0.9); /* Slightly transparent white */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
	color:white;
}

.login-container h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
}
#keep_logged_in_container{
	margin-top:0.25vw;
}
#forgot_password_container{
	margin-top:1vw;
}
#forgot_password_container a{
	color:white;
}
#login_notice{
	background-color:#dfe677;
	margin: 20px auto;
	border-radius: 10px;
	padding:20px 40px;
	color:black;
	font-weight:bold;
}
#login_error{
	background-color:red;
	margin: 40px auto;
	border-radius: 10px;
	padding:20px 40px;
	color:white;
	font-weight:bold;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
}

.login-container button {
    width: 94%;
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    background: #06748f;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.login-container button:hover {
    background: #099ec2;
}




/*===== PROFILE PAGE =====*/

#profileForm{
	width:100%;
	display:flex;
	flex-direction:row;
	
}

#edit_profile_container{
	width:auto;
	padding:2em;
	margin:100px auto;
	background-color:#2d2d30;
	border-radius:10px;
	box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.4);
	color:white;
}
#edit_profile_box{
	width:100%;
	display:flex;
	flex-direction:row;
}
#profile_left_col{
	width:calc(50% - 1.5vw);
	heiht:100%;
	float:left;
	margin-right:3vw;
	position:relative;
}
#profile_right_col{	
	width:calc(50% - 1.5vw);
	height:100%;
	float:left;
	display:flex;
	justify-content:right;
	align-items:center;
}
#profile_left_col table{	
	min-width:360px;
	height:100%;
	color:white;
	position:relative;
}
#profile_right_col table{	
	min-width:360px;
	height:100%;
	color:white;
	margin-left:20px;
}	
#visibility_menu{
	min-width:160px !important;
}


#profileForm input[type="text"] {
	background-color:#5f6368;
	color:white;
	font-size:.8em;
	padding:.5em;
	border:0px;
	font-weight:bold;
	width:220px;
}
#profileForm input[type="email"] {
	background-color:#5f6368;
	color:white;
	font-size:.8em;
	padding:.5em;
	border:0px;
	font-weight:bold;
	width:220px;
}
#profileForm input[type="color"] {
	background-color:#5f6368;
	color:white;
	font-size:.8em;
	border:0px;
	font-weight:bold;
	width:236px;
}
#profileForm input[type="password"] {
	background-color:#5f6368;
	color:white;
	font-size:.8em;
	padding:.5em;
	border:0px;
	font-weight:bold;
	width:220px;
}
#profileForm select {
	background-color:#5f6368;
	color:white;
	font-size:.8em;
	border:0px;
	font-weight:bold;
	padding:.5em;
	width:236px;
}

#password{
	width:auto !important;
}

#profileForm input:focus {
    border:0px;
	outline:none;
	background-color:#8d939a;

}
.error{
	margin:20px auto;
	background-color:red;
	padding:20px;
	font-size:1em;
	color:white;
}
.notice{
	background-color:#dfe677;
	margin:20px auto;
	padding:20px;
	font-size:1em;
	color:black;	
}
#passwordMessage{
	background-color:#1f1f21;
	box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.4);
	border-radius:10px;
	max-width:500px;
	min-width:500px;
	padding:10px;
	position:absolute;
	right:-520px;
	top:-80px;
	z-index:5;
	display:none;
	
}
#updateNotice{
	position:absolute;
	top:3em;
	left:calc(50% - 7.5em);
	width:15em;
	text-align:center;
}



/*=========== RESET PASSWORD ===================*/

#reset_password_box label {
            display: block;
            font-weight: bold;
}
#reset_password_box input {
    padding: 8px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}
#errorMsg {
    color: red;
    font-size: 0.9em;
	display:none;
}
.error, .notice {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
}
.error {
    background-color: red;
}
.notice {
    background-color: green;
}

#reset_password_container{
	width:100%;
	height:100%;
	overflow:hidden;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
}
#reset_password_box{
	min-width:20em;
	min-height:10em;
	background-color:#1f1f21;
	padding:2em;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;	
	border-radius:10px;
	text-align:center;
	color:white;
	font-size:2em;
}
#reset_password_box h3{
	text-decoration:underline;
}

#usernameForm{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;	
	text-align:center;
}
#usernameForm input{
	margin-top:20px;
	background-color:#5f6368;
	color:white;
	font-size:.8em;
	padding:.5em;
	border:0px;
	font-weight:bold;
	width:220px;
	border-radius:5px;
}
#usernameForm button{
	margin-top:20px;
	background-color:#39838c;
	color:white;
	font-size:.8em;
	padding:.5em;
	border:0px;
	font-weight:bold;
	width:220px;
	border-radius:5px;
}
#usernameForm button:hover{
	background-color:#4298a2;
	cursor:pointer;
}


#back_link{
	margin-top:20px;
	font-size:1.4em;
}
#password_reset_notifier{
	font-size:.6em;
	flex-direction:column;
	max-width:640px;
}

.reset-password-container{
	margin:auto auto;
	min-width:20em;
	min-height:10em;
	background-color:#1f1f21;
	padding:2em;
	border-radius:10px;
	text-align:center;
	color:white;
	font-size:1.4em;
}
.reset-password-container form{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
}
.input-field{
	background-color:#5f6368;
	color:white;
	font-size:.8em;
	padding:.25em;
	border:0px;
	font-weight:bold;
	border-radius:5px;
}

.reset-password-container button{
	margin-top:20px;
	background-color:#39838c;
	color:white;
	font-size:.6em;
	padding:.5em;
	border:0px;
	font-weight:bold;
	width:220px;
	border-radius:5px;
}
.reset-password-container tr{
	margin-bottom:10px;
}



/*=========== Task Bar ===================*/




.task-group { 
    width:450px;
    margin-bottom: 20px; 
    border: 1px solid #444; 
    border-radius: 6px; 
    overflow: hidden; 
    background-color: #1e1e1e; /* dark background for group */
}
.task-group-header { 
    background: #2b2b2b; /* dark header */
    padding: 8px; 
    cursor: pointer; 
    font-weight: bold; 
    display: flex;
    align-items: center;
    color: #eee; /* light text */
}
.task-group-header .arrow {
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.5s ease;
    color: #eee; /* arrow color */
}
.task-list {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
    padding: 0; /* remove padding */
}

.task-list-inner {
    padding: 0 10px; /* move padding inside */
}
.task-list.open {
    /* max-height will be set dynamically in JS */
}
.task {
    padding: 8px 0;
    border-bottom: 1px solid #444; /* darker separator line */
    color: #ddd; /* task text color */
}
.task_due_date {
    color: #aaa; /* subtle date color */
}
.task_info {
    font-weight: bold;
}
.task_blocked_by {
    color: #5f5f5f; /* optional: make blocked-by info more visible */
	font-size:14px;
}
.task_desc {
    color: #ccc;
}
#projects_container{
    background-color:#222;
	padding:20px;
	height:100%;
}
#tasks_title_homepage{
    display:flex;
    font-size:2em;
    font-weight:bold;
    text-decoration:underline;
    color:white;
    justify-content:center;
    align-items: center;
    padding:10px;
}   
#body_container{
	display:flex;
	flex-direction:row;
	height:100%;
	width:100%;
}
#task_container{
    width:490px;
    height:100%;
}
#main_container{
	width:100%;
	height:100%;
}
}