@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

body {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.btn {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.navbar-sidebar {
  background: #1e2939;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* Sidebar User Section */
.sidebar-user-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  padding: 1rem;
}

.sidebar-user-section .btn-primary {
  background-color: #2563eb;
  border-color: #2563eb;
}

.sidebar-user-section .btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.nav-link-tabs .nav-link {
  display: flex;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: transparent !important;
  border: none !important;

  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.nav-link,
.nav-link {
  gap: 8px;
}

.nav-link-tabs .nav-link.active {
  border-bottom: 1px solid #fff !important;
}

.sidebar {
  width: 12.5rem;
  min-height: 100vh;
}

.sidebar .nav-item .nav-link {
  width: 100%;
}

/* Active Nav Item */
.sidebar .nav-item.active > .nav-link {
  background-color: #1e40af;
  color: #fff;
}

.sidebar .nav-item.active > .nav-link i {
  color: #fff;
}

/* Nav Link Hover */
.sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.collapse-inner {
  color: #fff !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
  color: #fff !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item:hover {
  background-color: transparent;
}

/* Collapse Inner Active */
.collapse-inner .collapse-item.active {
  /* background-color: #f8f9fc; */
  color: #fff !important;
  font-weight: 600;
}

/* Topbar */
.topbar {
  width: 100%;
  display: flex;
  padding: 20px 40px;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  align-self: stretch;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  background: #1e2939;
}

.topbar-icon {
  gap: 12px;
}

.topbar-icon-item {
  display: flex;
  padding: 10px;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

/* Table Styles */
.table thead th {
  border-bottom: 2px solid #e3e6f0;
  font-weight: 600;
  color: #5a5c69;
}

.table tbody td {
  vertical-align: middle;
}

/* Badge Success */
.badge-success {
  background-color: #1cc88a;
  color: #fff;
}

/* Pagination */
.pagination .page-item.active .page-link {
  background-color: #4e73df;
  border-color: #4e73df;
  color: #fff;
}

.pagination .page-link {
  color: #5a5c69;
  border-color: #d1d3e2;
}

.pagination .page-link:hover {
  color: #2e59d9;
  background-color: #eaecf4;
  border-color: #d1d3e2;
}

/* Search Input */
.input-group .form-control {
  border-right: none;
}

.input-group-append .btn {
  border-left: none;
}

/* Tab Active */
.nav-tabs .nav-link.active {
  color: #4e73df;
  font-weight: 600;
}

/* Search Container */
.search-container {
  max-width: 400px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #2d3748;
  border: 1px solid #4a5568;
  border-radius: 0.5rem;
  padding: 6px 1rem;
}

.search-icon {
  color: #fbbf24;
  margin-right: 0.75rem;
  font-size: 1rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.875rem;
  padding: 0;
}

.search-input::placeholder {
  color: #a0aec0;
}

.search-clear-btn {
  background-color: #4a5568;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0;
  color: #2d3748;
  transition: background-color 0.2s;
}

.search-clear-btn:hover {
  background-color: #718096;
}

.search-clear-btn i {
  font-size: 0.75rem;
}

/* Filter Button */
.filter-btn {
  background-color: #2d3748;
  border: 1px solid #4a5568;
  border-radius: 0.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  background-color: #374151;
  border-color: #6b7280;
  color: #fff;
}

.filter-btn i {
  font-size: 1.125rem;
}

/* Page Content Dark Theme */
.page-content-dark {
  background-color: #0f172a;
  min-height: calc(100vh - 70px);
  padding: 20px 40px;
  border-radius: 0.5rem;
  border: none;
}

/* Primary Dark Button */
.btn-primary-dark {
  display: flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 6px;
  background: #162a75;
}

.btn-primary-dark:hover {
  color: #fff;
}

.btn-primary-dark:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.5);
}

/* Topbar Dark */
.topbar h1 {
  color: #fff !important;
}

.title-topbar {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.topbar .nav-link {
  color: #fff !important;
}

.topbar .nav-link:hover {
  color: #cbd5e1 !important;
}

/* Content Area Dark Background */
#content {
  background-color: #0f172a;
  min-height: 100vh;
  /* padding: 2rem; */
}

#content-wrapper {
  background-color: #0f172a;
}

/* Card Dark Theme */
.page-content-dark .card {
  background-color: #0f172a;
  border-color: #334155;
  color: #fff;
  border: none;
}
s .page-content-dark .card-body {
  background-color: #1e293b;
  color: #fff;
}

/* Table Dark Theme */
.page-content-dark .table {
  overflow: hidden;
  color: #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.page-content-dark .table thead th {
  border-top: none;
  border-bottom: 2px solid #475569;
  color: #fff;
  background-color: #334155;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.page-content-dark .table tbody td {
  border-color: #334155;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.page-content-dark .table tbody tr:hover {
  background-color: #334155;
}

/* Badge in Dark Theme */
.page-content-dark .badge-success {
  background-color: #11930d;
  border-radius: 120px;
  padding: 2px 12px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

/* Pagination Dark Theme */
.page-content-dark .pagination .page-link {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.page-content-dark .pagination .page-item.active .page-link {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.page-content-dark .pagination .page-link:hover {
  background-color: #334155;
  border-color: #475569;
  color: #fff;
}

/* Text colors in dark theme */
.page-content-dark .text-gray-600 {
  color: #fff !important;
}

/* Icons in dark theme table */
.page-content-dark .table tbody i,
.page-content-dark .table tbody button {
  color: #fff;
}

.page-content-dark .table tbody button:hover {
  background-color: #475569;
}

/* Checkbox in dark theme */
.page-content-dark input[type="checkbox"] {
  accent-color: #3b82f6;
}

/* Project Modal */
.project-modal {
  background-color: #fff;
  color: #111827;
  border: none;
  padding: 16px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  border: 1px solid #dadadb;
  box-shadow: 0 4px 4px -2px rgba(16, 24, 32, 0.04);
}

.project-modal__header {
  border: none;
  padding: 0 0 16px;
}

.project-modal__title {
  color: #070a0e;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
}

.project-modal__close {
  color: #111827;
  opacity: 1;
  font-size: 24px;
}

.project-modal__close span {
  display: inline-block;
  line-height: 1;
}

.project-modal__body {
  padding: 0;
}

.project-modal__label {
  color: #070a0e;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.badge {
  border-radius: 120px;
  padding: 2px 12px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.project-modal__input {
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  font-size: 16px;
  color: #111827;
}

.project-modal__input::placeholder {
  color: #9ca3af;
}

.project-modal__textarea {
  resize: vertical;
  min-height: 96px;
}

.project-modal__date-wrapper {
  position: relative;
}

.project-modal__date-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 18px;
}

.project-modal__footer {
  margin-top: 24px;
}

.project-modal__footer .btn-primary-dark {
  padding-left: 32px;
  padding-right: 32px;
  border-radius: 10px;
}

.btn-modal__footer {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  background: #162a75;
}

@media screen and (max-width: 768px) {
  .page-content-dark {
    padding: 20px;
  }
}
