body{
	margin: 0;
    background-color: #FAF3E0;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
	color: #4E342E; overflow-x: hidden;
}

#container{
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#loginHello {
    margin-top: 20px;
    font-size: 1.5rem;
    text-align: center;
    color: #4E342E;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}

#loginLogo img {
    width: 150px;
    margin: 20px auto;
    display: block;
}

#googleLogin {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

#googleLogin img {
    width: 250px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
}

#googleLogin img:hover {
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

#chooseRoleLogo img {
    width: 150px;
    margin: 20px auto;
    display: block;
}

#chooseRoleHello {
    margin-top: 20px;
    font-size: 1.5rem;
    text-align: center;
    color: #4E342E;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}

.roleButton:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #FF8A65;
    cursor: pointer;
}

.roleButton.admin {
    background-color: rgb(109, 184, 109);
}

.roleButton.admin:hover {
    background-color: rgb(121, 233, 121);
}

.roleButton.menager {
    background-color: rgb(224, 118, 118);
}

.roleButton.menager:hover {
    background-color: rgb(247, 155, 155);
}

.roleButton {
    width: 250px;
    margin: 20px auto;
    padding: 15px 20px;
    text-align: center;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: #4E342E;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    background-color: #4E342E;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    z-index: 20;
    box-sizing: border-box;
}

header img {
    height: 80px;
    object-fit: contain;
    margin-left: auto;
    padding-left: 15px;
}


#toggleNav {
    background-color: #FF8A65;
    color: #FFFFFF;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    position: relative;
    z-index: 20;
    transition: transform 0.2s ease;
}

#logo{
    color: #b18176;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    position: relative;
	top: auto;
    z-index: 20;
	text-transform: uppercase;
	font-family: "Poppins", serif;
	font-weight: 800;
	font-style: normal;
}

#toggleNav:hover {
    background-color: #FF7043;
    transform: scale(1.05);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

#toggleNav:active {
    transform: scale(0.9);
}

#box {
    display: flex;
    margin-top: 100px;
    transition: margin-left 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

#box.shrink {
    margin-left: 250px;
}


#box.shrink section {
    width: 100%;
}

nav{
	width: 100%;
}

#sidebar {
    background-color: #4E342E;
    color: #FFFFFF;
    width: 300px;;
    height: calc(100% - 100px);
    position: fixed;
    top: 100px;
    left: 0;
    z-index: 10;
    transition: all 0.3s ease;
    transform: translateX(-100%);
}

#sidebar.active {
    transform: translateX(0);
}

#sidebar ul {
    list-style: none;
    padding: 0;
}

#sidebar ul li {
    margin: 10px 0;
}

#sidebar ul li:hover  {
    color: #FF8A65;
	background-color: #4E342E;
}

section {
    flex-grow: 1;
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

footer{
	clear: both;
	width: 100%;
	padding: 10px 0 10px 0;
	background-color: #4E342E;
	color: #E0E0E0;
	text-align: center;
}

nav ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

nav ul li{
	padding: 20px 0 20px 20px;
	transition: all .3s ease;
}

nav a{
	text-decoration: none;
	color: white;
}

nav ul li:hover, .inUse {
    background-color: rgb(34, 20, 14) !important;
    color: #FF8A65 !important;
    font-weight: bold;
}

#tutorialVideo{
	width: 60%;
	height: 30vw;
	background-image: url(../img/tutorialPlaceholder.png);
	background-position: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
}

#tutorialVideo:hover{
	cursor: pointer;
}

article{
	width: 80%;
	padding-top: 100px;
	margin-left: auto;
	margin-right: auto;
	text-align: justify;
	color: rgb(34, 20, 14);
	margin-bottom: 20px;
}

h1{
	text-align: center;
	font-size: 2vw;
}

.employee{
	background-color: white;
	width: 80%;
	padding: 10px;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 20px;
	transition: all .2s ease;
}

.accountBlock > .employee{
	color: rgb(34, 20, 14);
}

.accountBlock > .employee:hover{
	cursor: default;
	background-color: white;
}

.employee:hover{
	cursor: pointer;
	background-color: rgb(238, 238, 238);
}

.requestDate, .requestEmployeeName, .requestBy{
	float: left;
	padding-top: 5px;
	padding-bottom: 5px;
}

.requestDate{
	width: 20%;
	border-radius: 25px 0 0 25px;
}

.requestEmployeeName{
	width: 40%;
}

.requestBy{
	width: 40%;
	border-radius: 0 25px 25px 0;
}

#employeeRequests a{
	color: black;
	text-decoration: none;
}

.info{
	width: 80%;
	background-color: rgb(247, 247, 247);
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
	padding-bottom: 100px;
	border-radius: 35px;
}

h2{
	padding-top: 50px;
	text-align: center;
	color: rgb(34, 20, 14);
	font-size: 2.5vw;
}

.infoArea{
	width: 90%;
	padding-top: 20px;
	padding-bottom: 70px;
	margin-left: auto;
	margin-right: auto;
}

.left{
	width: 30%;
	float: left;
}

.right{
	width: 70%;
	float: left;
}

.tile{
	width: 100%-20px;
	padding: 10px;
	text-align: left;
	border-top: 1px solid rgb(168, 129, 112);
	border-left: 1px solid rgb(168, 129, 112);
	border-right: 1px solid rgb(168, 129, 112);
	background-color: rgb(238, 233, 230);
	color: rgb(34, 20, 14);
}

.tile:last-child{
	border-bottom: 1px solid rgb(168, 129, 112);
}

.left > .tile{
	border-right: 1px solid rgb(168, 129, 112);
	color: rgb(168, 129, 112);
	background-color: rgb(241, 220, 211);
	text-align: center;
}

.acceptNo{
	background-color: rgb(219, 108, 108);
	color: rgb(167, 44, 44);
	transition: all .2s ease;
}

.acceptNo:hover{
	cursor: pointer;
	transform: scaleX(1.1);
	background-color: rgb(247, 155, 155);
	color: rgb(109, 16, 16);
	letter-spacing: 2px;
}

.acceptYes{
	background-color: rgb(109, 184, 109);
	color: rgb(61, 139, 45);
	margin-bottom: 20px;
	transition: all .2s ease;
}

.acceptYes:hover{
	cursor: pointer;
	transform: scaleX(1.1);
	background-color: rgb(121, 233, 121);
	color: rgb(37, 104, 24);
	letter-spacing: 2px;
}

.acceptNo, .acceptYes{
	font-size: 1.2vw;
	width: 30%;
	padding: 20px 0 20px 0;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	border-radius: 35px;
}

.accountBlock{
	background-color: rgb(247, 247, 247);
	width: 90%;
	padding-bottom: 50px;
	padding-top: 50px;
	border-radius: 35px;
}

h3{
	padding-top: 10px;
	text-align: center;
	color: rgb(34, 20, 14);
	font-size: 2.5vw;
}

a{
	text-decoration: none;
	color: white;
}

.form-container {
    max-width: 700px;
    margin: 50px auto;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
}


fieldset {
    margin-bottom: 20px;
    padding: 10px;
	border-radius: 20px;
	margin-bottom: 50px;
	border: #f3e8e5 1px solid;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Odstęp od treści powyżej */
}

.formButton {
    padding: 10px 20px;
    background-color: #FF8A65;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.formButton:hover {
    background-color: #FF7043;
    transform: scale(1.05);
    cursor: pointer;
}


.userIcon{
	width: 30%;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
}

.userIcon img{
	width: 100%;
	border-radius: 150px;
}

/********************/

.adminRole{
	background-color: rgb(21, 21, 22);
	color: rgb(189, 189, 189);
	transition: all .2s ease;
}

.adminRole:hover{
	cursor: pointer;
	transform: scaleX(1.1);
	background-color: rgb(82, 34, 34);
	color: rgb(224, 118, 118);
	letter-spacing: 2px;
}

.menagerRole{
	background-color: rgb(189, 189, 189);
	color: rgb(32, 32, 32);
	margin-bottom: 20px;
	transition: all .2s ease;
}

.menagerRole:hover{
	cursor: pointer;
	transform: scaleX(1.1);
	background-color: rgb(149, 235, 128);
	color: rgb(46, 90, 35);
	letter-spacing: 2px;
}

.adminRole, .menagerRole{
	font-size: 1.2vw;
	width: 30%;
	padding: 20px 0 20px 0;
	text-align: center;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 35px;
}

legend {
    font-weight: bold;
    color: #4E342E;
    font-size: 1.2em;
    margin-bottom: 10px;
	font-family: "Poppins", serif;
	font-weight: 800;
	text-transform: uppercase;
	text-align: center;
}

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
form{
	font-family: 'Lato', sans-serif;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #4E342E;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.3s ease;
	color: #ffb098;
}

.form-row input:focus, 
.form-row select:focus, 
.form-row textarea:focus {
    border-color: #FF8A65;
    box-shadow: 0px 4px 8px rgba(255, 138, 101, 0.2);
	color: #ff6a3c;
    outline: none;
}

.form-row textarea {
    resize: none;
}

.form-button {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #FF8A65;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-button:hover {
    background-color: #FF7043;
    transform: scale(1.02);
}

.form-button:active {
    background-color: #D35400;
    transform: scale(0.98);
}

input {
    flex: 2;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
	border: none;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
}

input[type="date"] {
    text-align: center;
}

.articleFix{
	margin-left: 0;
	margin-right: 0;
}

input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

input:focus,select:focus,textarea:focus{
	background-color: rgb(255, 231, 209);
}

input,select,textarea{
	transition: all .2s ease-in;
	min-width: 50%;
}

input:hover,select:hover,textarea:hover{
	background-color: rgb(255, 231, 209);
	cursor: pointer;
}

select{
	border: none;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
}

select > option{
	background-color: white;
    font-family: "Noto Sans", sans-serif;
}

textarea{
	border: none;
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 10px;
    font-family: "Noto Sans", sans-serif;
}

::-webkit-scrollbar {
    width: 12px; 
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #FF8A65;
    border-radius: 6px;
    border: 3px solid #FAF3E0; 
}

::-webkit-scrollbar-track {
    background-color: #FAF3E0;
    border-radius: 6px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #FF8A65 #FAF3E0;
}

.userSection {
    text-align: center;
    margin-bottom: 30px;
}

.userSection h3 {
    margin-top: 15px;
    font-size: 1.5em;
    color: #4E342E;
    font-weight: bold;
}

.userSection p {
    color: #7E5E52;
    font-size: 1em;
    margin: 5px 0 20px 0;
}

#logoutButton a {
    color: #FFFFFF;
    text-decoration: none;
    background-color: crimson;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#logoutButton a:hover {
    background-color: #FF7043;
}

.userDetails,
.recentEmployees {
    margin: 20px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
}

fieldset {
    border: 1px solid #F3E8E5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

legend {
    font-weight: bold;
    font-size: 1.2em;
    color: #4E342E;
    margin-bottom: 10px;
}


.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.info-row .label {
    font-weight: bold;
    color: #4E342E;
}

.info-row .value {
    color: #7E5E52;
}


.employee {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #F3E8E5;
	padding: 15px;
}

.employee:last-child {
    border-bottom: none;
}

.employee span {
    font-size: 0.9em;
    margin: 3px 0;
}

.employee-date {
    color: #4E342E;
    font-weight: bold;
}

.employee-name {
    color: #7E5E52;
    font-weight: bold;
}

.employee-added-by {
    color: #4E342E;
}

.card {
    background: linear-gradient(135deg, #FFFFFF, #F9F9F9);
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1000px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    background-color: #FFFAF3;
    transform: scale(1.02);
    cursor: pointer;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.user-icon {
    font-size: 50px;
    color: #FF8A65;
}

.card h3 {
    font-size: 1.6rem;
    color: #4E342E;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    font-family: "Poppins", serif;
    text-align: center;
}

.card-date {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #4E342E;
    margin: 10px 0 20px;
    font-family: "Poppins", serif;
}

.card-footer {
    text-align: right;
    margin-top: 10px;
    color: #757575;
    font-size: 0.9rem;
    border-top: 1px solid #EEE;
    padding-top: 10px;
}

.card-footer .added-by {
    margin: 0;
}

.no-users-message {
    text-align: center;
    font-size: 1.2rem;
    color: #757575;
    margin: 20px 0;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
}

#card-container.empty {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 150px);
    flex-direction: column;
    text-align: center;
}



footer.empty {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #4E342E;
    margin-bottom: 30px;
    font-family: "Poppins", serif;
}

.data-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px auto;
}

.data-group {
    display: flex;
    flex-direction: column;
    width: 80%;
    background-color: #FFF5ED;
    border: 1px solid #FF8A65;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.data-label {
    font-weight: bold;
    color: #4E342E;
    margin-bottom: 5px;
}

.data-value {
    color: #7E5E52;
    font-weight: normal;
}


.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.formButton {
    padding: 12px 25px;
    background-color: #FF8A65;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.formButton:hover {
    background-color: #FF7043;
    transform: scale(1.05);
    cursor: pointer;
}

.formButton-delete {
    background-color: #E57373;
}

.formButton-delete:hover {
    background-color: #FF5252;
}

/* Mobile */

@media screen and (max-width: 1300px) {
	aside{
		width: 30%;
	}
}

@media screen and (max-width: 1000px) {
	#box{
		display: block;
	}

	aside{
		width: 100%;
	}

	section{
		width: 100%;
	}

	nav ul li{
		padding: 0;
		text-align: center;
		padding: 15px 0 15px 0;
	}

	nav ul li:hover, .inUse{
		background-color: rgb(34, 20, 14);
		padding-left: 0;
		letter-spacing: 2px;
	}

	header{
		border-radius: 0;
	}

    
    #sidebar{
        width: 50%;
    }
    
    .accountBlock{
        width: 100%;
        border-radius: 0;
    }

    article{
        width: 100%;
        margin: 0;
        padding: 0;
    }

    section{
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .userDetails, .recentEmployees{
        border-radius: 0;
    }

}

@media screen and (max-width: 600px) {

    #sidebar{
        width: 100%;
    }


}