/* Hide the sidebar when printing */
@media print {
    .sidebar {
        display: none;
    }

    /* Expand content area to fill the entire page width */
    .content {
        width: 100%;
        margin-left: 0; /* Remove any left margin to ensure full width */
        float: none; /* Remove float */
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0; /* Light gray background */
}
/* Sidebar Styles */
.sidebar {
    background-color: #603f83ff;
    color: #fc766aff;
    padding: 20px;
    width: 200px;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    overflow-y: auto;
}

/* Global Styles */


.profile-card {
    display: flex;
    align-items: center;
    background-color: #fcf6f5ff; /* Adjust background color as needed */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add shadow effect */
}

.profile-icon {
    margin-right: 20px; /* Adjust spacing between icon and text */
}

.profile-info p {
    margin: 0; /* Remove default margins */
}

.sidebar h2 {
    margin-bottom: 20px;
}

.sidebar .profile {
    margin-bottom: 30px;
}

.sidebar .profile h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

.sidebar .profile p {
    margin-bottom: 0;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 20px;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.sidebar ul li a i {
    margin-right: 10px;
}



.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    width: 800px;
    background-color: #ffffff; /* White background */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
}

.left {
    flex: 1;
    padding: 20px;
}

.left img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 10px;
}

.right {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #ffffff;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Client */
.client_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client_btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.client_card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    background-color: white;
}

.client_card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client_search-bar {
    display: flex;
    align-items: center;
}

.client_search-bar input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.client_search-bar button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

th, td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.client_switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.client_switch input { display:none; }

.client_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(204, 204, 204);
    -webkit-transition: .4s;
    transition: .4s;
}

.client_slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #007bff;
}

input:focus + .slider {
    box-shadow: 0 0 1px #007bff;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.client_slider.round {
    border-radius: 34px;
}

.client_slider.round:before {
    border-radius: 50%;
}

.client_ellipsis {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.client_ellipsis span {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.client_ellipsis span:nth-child(1) {
    top: 25%;
}

.client_ellipsis span:nth-child(3) {
    top: 75%;
}

/* Pagination */
.pagination {
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .active {
    background-color: #333;
    color: #fff;
}

.pagination a:not(.active) {
    margin-right: 3px; /* Add space between numbers */
}

/* View, Update, Delete buttons */
.action-buttons button {
    color: white;
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.action-buttons button:hover {
    opacity: 0.8;
}

.action-buttons button i {
    margin-right: 5px;
}

.view-btn {
    background-color: #4373a3; /* Green */
}

.update-btn {
    background-color: #4373a3; /* Blue */
}

.delete-btn {
    background-color: #df5248; /* Red */
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}
