
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: "Montserrat", sans-serif    ;
font-weight:500 ;}

.container {
    display: flex;
    height: auto;
}
/* sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    background-color: hsl(240, 100%, 6%);
    color: #ffffff;
    padding: 20px;
    padding-top: 25px;
    height: auto;
    min-height: 100vh;
    transition: transform 0.3s ease-in-out;
    margin-right: 10px;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 80px;
    margin-left: 20px;
}

.sidebar ul {
    list-style-type: none;
}

.sidebar ul li {
    margin: 20px ;
    margin-bottom: 60px;
}
.sidebar ul li a:hover {
    color: #accc35;
}
 i{
    color: white;
    margin: 0 5px;
    font-size: 16px;
    
 }
.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}
#toggle-btn {
    position: fixed;
    top: 27px;
    left: 20px;
    font-size: 24px;
    color: #accc35;
    cursor: pointer;
    z-index: 1000; 
}

.sidebar.hidden {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}



.container.full-width .main {
    width: 100%; 
    margin-left: 5px;
}


/* dashboard */
.main {
    flex: 1;
    padding: 20px;
    margin: 20px;
     margin-left: 250px; 
    transition: width 0.3s ease-in-out, margin-left 0.3s ease-in-out;

}
 h1 {
    color: hsl(240, 100%, 6%);
    margin: 5px 0px 30px 0px;
}


.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1200px;
}

.stats .box {
    flex: 1;
    min-width: 250px;
    padding: 24px;
    background: hsl(240, 100%, 6%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: hsl(0, 1%, 86%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stats .box:hover {
    background: hsl(240, 100%, 12%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.stats .box i {
    font-size: 2rem;
    color: hsl(0, 1%, 86%);
}

.stats .box .text h3 {
    font-size: 1.8rem;
    margin: 0;
}

.stats .box .text p {
    font-size: 1rem;
    margin: 0;
}


.charts {
    margin: 40px 0;
    display: flex;
    justify-content: space-around;
}


.crud-table .table-title {
    display: flex;
    justify-content: space-between;
    background-color: hsl(240, 100%, 6%);
    padding: 15px;
    border-radius: 5px;
}
.crud-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.crud-table .table-title h2{
    color:hsl(180, 9%, 96%) ;
}

.crud-table table th, 
.crud-table table td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
}

.crud-table table th {
    background-color: hsl(240, 100%, 6%);
    color: #fff;
}

.crud-table button  {
    padding: 12px ;
    color: #fff;
    border: none;
   background-color: #accc35;
    border-radius: 5px;
    cursor: pointer;
}
.crud-table button a {
      color: #fff;
  
}

  /* add , Update user and add company forms */

  .crud-form {
    background: hsl(0, 0%, 100%);
    padding: 24px;
    margin: auto;
    border-radius: 10px;
    color: hsl(0, 1%, 86%);
    width: 95%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.crud-form  h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-row {
    display: flex;
    gap: 20px; 
    margin-bottom: 20px; 
}

.form-group {
    flex: 1;
}

.crud-form  label {
    display: block;
    margin: 10px 0;
    text-align: left;
    color: hsl(240, 100%, 6%);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.crud-form  label i {
    color: #accc35;
}
.crud-form  input {
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 16px;
}

.crud-form  input {
    width: 100%;
}

.crud-form  .form-btn {
    display: flex;
}

.crud-form  button {
    cursor: pointer;
    width: 50%;
    margin: 30px 2px;
    padding: 10px;
    color: #fff;
    border: none;
    background-color: #accc35;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.crud-form  button i {
    font-size: 1rem; 
}
.custom-file-label input[type="file"] {
    display: none;
}

.custom-file-label span {
    color: #accc35;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #000000;
    border-radius: 5px;
    width: 100%;
}

.custom-file-label span i {
    font-size: 1rem;
    color: #accc35;
}


/* login forms  */
.logincontainer {
    display: flex;
    height: 100%;
    min-height: 100vh;
    text-align: center;
    padding: 40px 200px;
    background-color: #c9d8ec   ;}

.left-side {
    flex: 1;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.logo {
    width: 290px;
    height: 250px; 
    background-image: url("/image/logo.png");
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
}

.logo-text {
    text-align: center;
    margin-top: 20px;
}

.logo-text h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #000000;
}

.logo-text .help-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

.logo-text .help-link:hover {
    text-decoration: underline;
}

.right-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(240, 100%, 6%);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.login-form {
    width: 400px;
    padding: 60px 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-form h1 {
    color: hsl(240, 100%, 6%);
    margin: 5px 0px 30px 0px;
      font-size: 35px;
      font-weight: 600;
}

.welcome-text {
    font-size: 18px;
    color: hsl(240, 100%, 6%);
    margin-bottom: 20px;
}

.login-form .form-group {
    margin-bottom: 35px;
    margin-top: 35px;
}

.input-container {
    display: flex; 
    align-items: center;
}

.input-container i {
    margin-right: 10px; 
    color: #000000;
    font-size: 18px;
}

.input-container input {
    flex: 1; 
    padding: 10px;
    border: none;
    border-bottom: 2px solid #ddd;
    font-size: 16px;
    background-color: transparent;
}

.input-container input::placeholder {
    color: #999;
}


.login-button {
    width: 40%;
    padding: 10px;
    margin: auto;
    background-color: #accc35;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}


