/*style.css*/

@font-face {
	font-family: "Syncopate";
	src: url('fonts/Syncopate.ttf');
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Syncopate";
}

:root {
    --background-color1: #0D1117;
    --background-color2: #3c3d63;
    --background-color3: #ededed;
    --background-color4: #727394;
	--listing-color1: #b3b3b3;
	--listing-color2: #ededed;
    --Border-color: #3f0097;

body {
    background-color: var(--background-color4);
    max-width: 100%;
    overflow-x: hidden;
}

header {
    height: 70px;
    width: 100vw;
    padding: 0 30px;
    background-color: var(--background-color1);
    position: fixed;
    z-index: 100;
    box-shadow: 1px 1px 15px rgba(60, 61, 99, 0.825);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 27px;
    font-weight: 600;
    color: rgb(226, 232, 240);
}

.login-logo{
	height: 90%;
	align-items: center;
	}
	
.login-title{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50%;
	width: 100%;
	flex-direction: column;
	font-size: 24px;
	}
	
.icn {
    height: 60px;
}
	
.icon{
	height: 20px;
	}

.sicn {
    height: 30px;
}
.menuicn {
    cursor: pointer;
}

.searchbar,
.message,
.logosec {
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchbar2 {
    display: none;
}

.logosec {
    gap: 60px;
}

.searchbar input {
    width: 250px;
    height: 42px;
    border-radius: 50px 0 0 50px;
    background-color: var(--background-color3);
    padding: 0 20px;
    font-size: 15px;
    outline: none;
    border: none;
}
	
.input-text {
    width: 250px;
    height: 20px;
    border-radius: 50px 50px;
    background-color: var(--background-color3);
    padding: 0 20px;
    font-size: 15px;
    outline: none;
    border: 2px solid var(--Border-color)
}
		
	
.login-box {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center; /* This replaces the old <center> tag safely */
}

.control-panel{
	display: grid;
	margin-left: 20px;
	}

.cp-menu{
	/* FIX 1: Remove width: 100% so the margin doesn't push it off screen */
    margin: 10px;
    height: 50px;
    gap: 10px;
    
    /* FIX 2: Even out the padding so buttons don't spill out the right side */
    padding: 0 10px; 
    
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 50px;
    background-color: var(--background-color2);
	}
	
.cp-menu > a {
    text-decoration: none; /* Removes the default link underline */
    display: block;        /* Changes it from inline to block */
    flex: 1 1 250px;       /* The <a> tag now handles the spreading math */
}
	
.cp-button{
    margin-top: 5px;
    margin-bottom: 5px;
    height: 30px;
    padding: 8px;
    box-sizing: border-box; 
    
    /* CLEANUP: Combined your duplicate flex properties into this single line */
    flex: 1 1 250px;  
    
    overflow: hidden;
    align-items: center;
    border-radius: 50px;
    background-color: var(--Border-color);
    text-align: center; 
    color: #FFFFFF;
}
	
.cp-container-big{
	margin: 10px;
	width: 100%;
	border-radius: 50px 50px 50px 50px;
	background-color: var(--background-color2);
	}
	
.cp-listing{
	margin: 10px;
	max-width: 100%;
	padding: 40px;
	box-sizing: border-box;
	border-radius: 50px 50px 50px 50px;
	background-color: var(--background-color3);
	}
	
.no-cp-list{
	padding: 5px;
	max-width: 100%;
	background-color: var(--listing-color1);
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	text-align: center; 
	align-items: center;
	justify-content: center; 
	}

.cp-list{
	padding: 5px;
	max-width: 100%;
	background-color: var(--listing-color1);
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	}
.cp-list-1{
	padding: 5px;
	max-width: 100%;
	background-color: var(--listing-color2);
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	}
.cp-list-data{
	font-family: Tahoma,Arial;
	flex-grow: 1;       /* 1 = Allow cards to stretch to fill empty space */
    flex-shrink: 1;     /* 1 = Allow cards to shrink if the screen is tiny */
    flex-basis: 250px;  /* 250px = The ideal minimum width before wrapping */
	}
.cp-list-data-small{
	max-width: 50px;
	font-family: Tahoma,Arial;
	}
	
.add-form{
	margin: 10px;
	max-width: 100%;
	padding: 40px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	border-radius: 50px 50px 50px 50px;
	background-color: var(--background-color3);
	flex-grow: 1;       /* 1 = Allow cards to stretch to fill empty space */
    flex-shrink: 1;     /* 1 = Allow cards to shrink if the screen is tiny */
    flex-basis: 250px;  /* 250px = The ideal minimum width before wrapping */
	}
	
.form-item{
	width: 100%;
	padding: 5px;
	justify-content: center;
	background-color: var(--listing-color1);
	}
.form-item-1{
	width: 100%;
	padding: 5px;
	justify-content: center;
	background-color: var(--listing-color2);
	}
.form-item > input, select, option{
	float: right;
	clear: both;
	}
	
.form-item-1 > input, select, option{
	float: right;
	clear: both;
	}
input[type="file"]::file-selector-button{
	font-family: "Syncopate";
	font-size: 12px;
	}
	
.hidden {
    display: none !important;
}
	
.normal-text{
	font-family: Tahoma, Arial;
	}
	
.searchbtn {
    width: 50px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px 50px 50px 0px;
    background-color: var(--background-color2);
    cursor: pointer;
}

.message {
    gap: 40px;
    position: relative;
    cursor: pointer;
}

.circle {
    height: 40px;
    width: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
    position: absolute;
    background-color: var(--background-color2);
    border-radius: 50%;
	right: 60px
}
	
.notifications {
    height: 15px;
    width: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
    position: fixed;
    background-color: #FF0000;
    border-radius: 50%;
	right: 95px;
	top: 15px;
}

.dp {
    height: 40px;
    width: 40px;
    background-color: var(--background-color2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-container {
    display: flex;
    width: 100vw;
    position: relative;
    top: 70px;
    z-index: 1;
}

.dpicn {
    height: 42px;
}

.main {
    height: calc(100vh - 70px);
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 40px 30px 30px 30px;
}

.main::-webkit-scrollbar-thumb {
    background-image:
        linear-gradient(to bottom, rgb(0, 0, 85), rgb(0, 0, 50));
}

.main::-webkit-scrollbar {
    width: 5px;
}

.main::-webkit-scrollbar-track {
    background-color: #9e9e9eb2;
}

.box-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.nav {
    min-height: 91vh;
    width: 250px;
    background-color: var(--background-color1);
    position: absolute;
    top: 0px;
    left: 00;
    box-shadow: 1px 1px 10px var(--background-color4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 30px 0 20px 10px;
	color: #e2e8f0;
}

.navcontainer {
    height: calc(100vh - 70px);
    width: 250px;
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all 0.5s ease-in-out;
}

.navcontainer::-webkit-scrollbar {
    display: none;
}

.navclose {
    width: 80px;
}

.nav-option {
    width: 250px;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 30px 0 20px;
    gap: 20px;
    transition: all 0.1s ease-in-out;
}

.nav-option:hover {
    border-left: 5px solid var(--Border-color);
    background-color: var(--background-color4);
    cursor: pointer;
}

.nav-img {
    height: 30px;
}

.nav-upper-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.nav a{
	text-decoration: none;
	color:rgb(226, 232, 240);
	}
.option1 {
    border-left: 5px solid #010058af;
    background-color: var(--Border-color);
    color: white;
    cursor: pointer;
}

.option1:hover {
    border-left: 5px solid #010058af;
    background-color: var(--Border-color);
}