* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
    margin: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f8f8;
}

#root {
    height: 100%;
  }

.my-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.clicked {
    transform: scale(1);
    transition: transform 0.4s;
}

.clicked:hover {
    transform: scale(1.1);
    transition: transform 0.4s;
}

.services, .clients {
    padding: 20px;
}

.btn-spacing{
    margin: 5px;
  }
  
.btn-2 {
    margin-left: 25px;
}

/* Layout */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    padding: 20px;
    background-color: #f8f9fa;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-x: hidden;
    transition: width 0.3s ease;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 88%;
}
  
.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
  
.sidebar .nav-link .bi {
    margin-right: 10px;
    font-size: 20px;
}
  
.sidebar .nav-link.active {
    color: #fff;
    background-color: #29abe2;
    border: 3px solid #29abe2;
    border-radius: 15px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px; 
}

.sidebar-logo img {
    max-height: 90px; 
}

.sidebar-footer {
    padding: 10px;
}
  
.main-content {
    flex: 1;
    padding: 20px;
    margin-left: 260px;
}
  
.search-input {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 85%;
}
  
.search-icon {
    font-size: 18px;
    color: #29abe2;
    margin-right: 10px;
}
  
.search-input input {
    border: none;
    outline: none;
    font-size: 16px;
    width: 100%;
}
  
.search-input input::placeholder {
    color: #999;
}
  
.logout-btn {
    padding: 6px 12px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.logout-btn:hover {
    background-color: #c82333;
}

/* Dashboard */
/* Dashboard */
.dashboard {
  display: flex;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-header .search-input {
  position: relative;
}

.dashboard-header .search-input input {
  padding: 10px;
  border-radius: 5px;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  z-index: 1;
}

.search-results div {
  margin-bottom: 5px;
}

.search-results p {
  margin: 0;
  cursor: pointer;
  color: #333;
}

.search-results p:hover {
  text-decoration: underline;
}

.dashboard-header .profile-section {
  display: flex;
  align-items: center;
}

.dashboard-header .profile-picture {
  width: 90px;
  height: 45px;
  margin: 0 30px;
}

/* Services */
.services h2 {
    margin-bottom: 5px;
    color: #373435;
    font-weight: bold;
}

.service-card {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    position: relative; 
    text-align: center;
  }
  
  .service-card:hover {
    transform: scale(1.05);
  }
  
  .service-actions {
    position: absolute;
    top: 10px; 
    right: 10px; 
  }
  
  .service-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #29abe2;
  }
  
  .service-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    font-style: italic;
  }

  .service-link{
    color: #03a2e6;
    text-decoration: none;
  }

  .service-link:hover{
    text-decoration: none;
  }


  
/* Clients */
.clients h2 {
  margin-bottom: 10px;
  color: #373435;
  font-weight: bold;
}

/* Table */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  border-radius: 5px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  vertical-align: middle;
  font-weight: 600;
}

.table thead th {
  background-color: #29abe2;
  color: #fff;
}

.table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table tbody tr:hover {
  background-color: #e6f7ff;
}

.badge {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  font-style: italic;
}

.btn-primary {
  background-color: #29abe2!important;
  color: #fff;
  border: 1px solid #29abe2!important;
}

.btn-spacing{
  margin: 5px;
}

.table-link{
  color: #03a2e6;
  text-decoration: none;
}
.table-link:hover{
  color: #03a2e6;
  text-decoration: underline;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  max-width: 800px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-btn{
  margin-top: 25px;
}

.invoice-id {
  font-size: 25px;
}

.client-name {
  color: #29abe2;
  font-size: 20px;
}
.font-user{
  font-size: 20px;
}

.table-header {
  background-color: #84B0CA;
  color: white;
}

.page-link{
  color:#03a2e6;
}

.active>.page-link, .page-link.active{
  background-color: #29abe2;
  border-color: #29abe2;
}


/*Search*/
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  z-index: 1;
}

.search-results div {
  margin-bottom: 5px;
}

.search-results p {
  margin: 0;
  cursor: pointer;
  color: #333;
}

.search-results p:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  /* Adjust sidebar width for medium screens */
  .sidebar {
    width: 220px;
  }

  /* Adjust main content margin for medium screens */
  .main-content {
    margin-left: 220px;
  }
}

@media screen and (max-width: 768px) {
  /* Adjust sidebar width for small screens */
  .sidebar {
    width: 180px;
  }

  /* Adjust main content margin for small screens */
  .main-content {
    margin-left: 180px;
  }
}

/* Make tables responsive */
.table {
  overflow-x: auto;
}

/* Grid system for responsiveness */
@media screen and (max-width: 576px) {
  .my-container {
    flex-direction: column;
  }

  .btn-2 {
    margin-left: 0;
  }
}