/* General Styles */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: white;
    font-size: 12px;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: 600;
}
h1
{
    font-size: 22px;
}
a, button
{
    font-weight: 600 !important;
    text-decoration: none;
    color: #000;
}
.form-control {
    font-size: 17px !important;
}

.main {
    margin: 100px 25px;
}
.table-responsive #employeeTable_wrapper table tr th,
.table-responsive #employeeTable_wrapper table tr td{
    font-size: 11px !important;
}

#live-time {
    font-weight: bold;
}

.header_user
{
    color: #fff;
}
.header_user_icon
{
    margin-left: 20px;
}
/* Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #343a40;
    color: white;
    padding-top: 20px;
    margin-top: 60px;
}

.sidebar a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
    font-size: 15px;
}

.sidebar a:hover {
    background: #495057;
}

/* Header (Now Adjusted) */
.header {
    width: 100%;
    /* Adjusts width after sidebar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #007bff;
    color: white;
    font-size: 20px;
    position: fixed;
    top: 0;
    left: 0;
    /* Push header after sidebar */
    height: 60px;
}

/* Content Area */
.content {
    margin-left: 250px;
    margin-top: 80px;
    /* Adjust to avoid header overlap */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100vh;
}

/* Main Container */
.container-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-size: 12px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
}

.btn-secondary {
    background-color: #28a745;
}

.btn:hover {
    opacity: 0.8;
}

 .autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
}

.autocomplete-item:hover {
    background-color: #f8f9fa;
}

div.dataTables_wrapper div.dataTables_length select {
    width: 100% !important;
}


/* Input, select, textarea */
input.form-control,
select.form-select,
textarea.form-control {
    font-size: 12px !important;
}

/* Buttons including Bootstrap classes */
button,
.btn {
    font-size: 12px !important;
}

/* Select options (for dropdown text) */
select option {
    font-size: 12px;
}

@media (max-width: 768px) {
  .navbar-brand span {
    display: none;
    transition: all 0.3s ease;
  }

  .navbar-brand:hover span {
    display: inline;
    position: absolute;
    background: #fff;
    color: #000;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transform: translateY(-40%);
    margin-left: 10px;
  }
}
@media screen and (max-width: 767px) {
    /* Ensure the table doesn't overflow on small screens */
    .dataTables_wrapper {
        overflow-x: auto;
    }
    
    /* Make sure the control column is visible */
    .dtr-control {
        display: table-cell !important;
    }
}