@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  font-size: 16px;
}

a {
    font-size: 16px;
    color: #539239;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button{
    font-size: 16px;
    color: #539239;
    background: none;
    cursor: pointer;
}

button:hover {
    text-decoration: underline;
}

.sidebar {
    position: sticky;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 100vh;
    padding: 0 1.5rem;
    color: #fff;
    overflow: hidden;
    transition: all 0.3s linear;
    background: #539239;
}

.sidebar:hover {
    width: 400px;
}

.logo {
    height: 80px;
    padding: 16px;

}

.menu {
    height: 88%;
    position: relative;
    list-style: none;
    padding: 0;
}

.menu li {
    padding: 1rem;
    margin: 8px 0;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.menu li:hover, .active {
    background: #ffffff40;
}

.menu a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.menu a span {
    overflow: hidden;
    white-space:nowrap
}


.logout {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.main-content {
    position: relative;
    background: #ebe9e9;
    width: 100%;
    padding: 1rem;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
    padding: 10px 2rem;
}

.header-title {
    color: #539239;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    background: rgb(237, 237, 237);
    border-radius: 15px;
    color: #539239;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px;
}

.search-box input {
    background: transparent;
    padding: 10px;
}

.search-box i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s ease-out;
}

.search-box i:hover {
    transform: scale(1.2);
}

.card-container {
    margin-top: 1rem;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
}


.main-title {
    color:  #539239;
    padding-bottom: 10px;
    font-size: 15px;
}

/* Table properties */

.table-container {
    width: 100%;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container thead {
    background: #539239;
    color: #fff;
}

.table-container th {
    padding: 15px;
    text-align: left;
}

.table-container tbody {
    background: #f2f2f2;
}

.table-container td {
    padding: 15px;
    font-size: 16px;
    color: #333;
}

.table-container tr:nth-child(even) {
    background: #fff;
}

.sub-header {
    background: #BBDDBB;
}

.table-container tfoot {
    background: #539239;
    font-weight: bold;
}

.table-container tfoot td {
    padding: 15px;
    color: #fff;
}

.calendar-container table {
    width: 100%;
    table-layout: fixed;
}

.calendar-container td {
    width: 14.28%;
    height: 100px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    vertical-align: top;
    padding: 10px;
    overflow: auto;
}

.day-number {
    font-weight: bold;
}

.not-current-month {
    color: grey;
    background-color: lightgrey;
}

.data {
    margin-top: 10px;
}

.error-message {
    color: red;
    font-size: 10px;
}

.form-style {
    max-width: 400px;

}

.form-style li {
    padding: 0;
    display: block;
    list-style: none;
    margin: 10px 0 0 0;
}

.form-style label {
    margin: 0 0 3px 0;
    padding: 0px;
    display: block;
    font-weight: bold;
    color: #539239;
}

.form-style input[type=text],
.form-style input[type=date],
.form-style input[type=datetime],
.form-style input[type=number],
.form-style input[type=search],
.form-style input[type=time],
.form-style input[type=url],
.form-style input[type=email],
.form-style textarea,
.form-style select {
    box-sizing: border-box;
    border: 1px solid #539239;
    padding: 7px;
    margin: 0px;
    outline: none;
}

.form-style input[type=text]:focus,
.form-style input[type=date]:focus,
.form-style input[type=datetime]:focus,
.form-style input[type=number]:focus,
.form-style input[type=search]:focus,
.form-style input[type=time]:focus,
.form-style input[type=url]:focus,
.form-style input[type=email]:focus,
.form-style textarea:focus,
.form-style select:focus{
	box-shadow: 0 0 8px  #539239;
	border: 1px solid  #539239;
}

.form-style .field-long{
	width: 100%;
}

.form-style input[type=submit], .form-style input[type=button]{
	background:  #539239;
	padding: 8px 15px 8px 15px;
	border: none;
	color: #fff;
}
.form-style input[type=submit]:hover, .form-style input[type=button]:hover{
	background:  #2f5220;
	box-shadow:none;
}

.color-box {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 10px;
}
