:root {
  --white: #ffffff;

  /* From logo */
  --gold-primary: #c7a332; /* IMT gold/yellow */
  --gold-light: #c7a43252; /* IMT gold/yellow */
  --blue-primary: #273d72; /* Dark Navy Blue from bottom dots */
  --blue-light: #e3e8f5; /* Light very soft bluish-gray from Dubai text */

  --danger: #dc3545;
  --danger-light: #f8d7da;

  /* Optional enhancements */
  --blue-dark: #1b2b5a; /* Darker hover blue */
  --text-dark: #1f2f3e; /* Normal text */
  --text-light: #5a6275; /* Light Dubai-like text */
  --light: #f3f4f6;
  --border-light: rgba(39, 61, 114, 0.15);
  --shadow-light: 0px 4px 12px rgba(39, 61, 114, 0.15);
}
body {
  background-color: var(--light);
}
body,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: 0;
  outline: none;
}

input {
  outline: none;
}

.main-wrapper {
  display: flex;
}
.sidebar {
  width: 280px;
  height: 100vh;
  overflow: hidden;
  padding: 12px 15px;
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
  box-shadow: 6px 0px 12px var(--blue-light);
}
.sidebar.active {
  width: 90px;
}

.content-part {
  height: 100vh;
  overflow-y: auto;
  width: calc(100vw - 280px);
}
.content-part.active {
  width: calc(100vw - 90px);
}
.header {
  height: 60px;
  padding: 12px 20px;
  background-color: var(--white);
  box-shadow: 0px 6px 12px var(--blue-light);
}
.logo-area {
  height: 60px;
}
.logo-area h2 {
  font-size: 18px;
  font-family: 800;
}
.logo-area .logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sidebar-item-wrapper {
  height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 15px 0;
}

.sidebar-item-wrapper .sidebar-item {
  width: 100%;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}
.sidebar-item-wrapper .sidebar-item .text {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.sidebar.active .sidebar-item-wrapper .sidebar-item .text {
  display: none;
}
.sidebar-item-wrapper .sidebar-item .icon {
  width: 24px;
  text-align: start;
}
.sidebar-item-wrapper .sidebar-item.active {
  background-color: var(--blue-light);
}

.sidebar-item-wrapper .sidebar-item.active .text {
  color: var(--blue-dark);
}

.sidebar-item-wrapper .sidebar-item:hover {
  background-color: var(--blue-light);
}

.toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  text-align: center;
  background-color: var(--white);
}
.toggle-btn i {
  display: inline-block;
  font-size: 24px;
  color: var(--text-light);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}
/* .toggle-btn:hover i {
  transform: rotate(360deg);
} */
.profile-btn {
  background-color: transparent;
  padding: 0;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--blue-dark);
  color: var(--white);
}
/* LOgin */
.login-card .form-label {
  color: var(--text-dark);
}
/* Background */
.login-bg {
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--blue-light) 0%,
    var(--blue-light) 100%
  );
}

/* Modern Card */
.login-card {
  width: 450px;
  padding: 30px 35px;
  border-radius: 14px;
  background: var(--white);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.heading-normal {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Input */
.form-control {
  height: 45px;
  line-height: 45px;
  border-radius: 8px;
  border: 1px solid #cfd4da;
  transition: 0.3s;
}
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35);
  border-color: var(--gold-primary);
}

/* Button */
.comman-btn {
  width: 100%;
  height: 45px;
  line-height: 45px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  transition: 0.4s;
  display: block;
  text-align: center;
  background-color: var(--blue-dark);
  color: var(--white);
}
.comman-btn.login {
  background-color: var(--blue-dark);
  color: var(--white);
}
.comman-btn.login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--blue-primary);
}
.comman-btn.btn-sm {
  height: 35px;
  line-height: 35px;
  font-size: 12px;
}

.text-sm {
  font-size: 12px;
}
.content-area {
  height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 15px 20px;
}
.card {
  border-color: var(--blue-light);
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
}
.card:hover {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.card-header,
.card-body {
  border: 0;
  background-color: transparent;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-header h2 {
  font-size: 1.2rem;
  letter-spacing: 150%;
  font-weight: 700;
  margin: 0;
}

.filter-btn {
  height: 45px;
  line-height: 45px;
  background-color: var(--gold-light);
  color: var(--gold-primary);
  border-radius: 6px;
  padding: 0 10px;
  font-size: 26px;
}
.filter-btn:hover {
  background-color: #c7a432ae;
}

.form-select {
  height: 45px;
  border-radius: 8px;
}

.form-select.form-select-sm,
.form-control.form-control-sm {
  height: 35px;
  border-radius: 4px;
}
.search {
  position: relative;
}
.search .form-control {
  padding-right: 30px;
}
.search .search-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
table thead tr th {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
table tbody tr td {
  font-size: 13px;
  vertical-align: middle;
}
.user-40 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
}
.user-40 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.table-btn {
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 4px;
  color: var(--blue-dark);
  background-color: var(--blue-light);
  transition: all 0.3s ease-in-out;
}
.table-btn:hover {
  color: var(--white);
  background-color: var(--blue-dark);
}
.table-btn.trash {
  color: var(--danger);
  background-color: var(--danger-light);
}
.table-btn.trash:hover {
  color: var(--white);
  background-color: var(--danger);
}

.form-check-input:checked {
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.upload-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background-color: var(--blue-dark);
  border: 10px solid var(--light);
  transition: all 0.3s ease-in-out;
  box-shadow: 6px 0px 12px var(--blue-light);
}
.upload-img:hover {
  background-color: var(--blue-light);
}
.upload-img input {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  z-index: 1;
  background-color: transparent;
}

.upload-img .upload-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}
.upload-img .upload-content i {
  font-size: 5.5rem;
  color: var(--white);
}
.upload-img .uploaded-img {
  display: none;
}
.upload-img:hover .upload-content i {
  color: var(--blue-dark);
}

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 15px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 6px 18px rgba(39, 61, 114, 0.25);
}

.stat-card .icon i {
  font-size: 30px;
  background: var(--gold-light);
  padding: 12px;
  border-radius: 10px;
  color: var(--gold-primary);
}

.stat-card h5 {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
}
.stat-card .p{
  font-size: 10px;
  font-weight: 300;
  color: var(--text-light);
}
.bg-light {
  background-color: var(--light) !important;
}
.stat-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: var(--blue-primary);
}
.login-bg .logo {
  width: 180px;
  margin-bottom: 1.25rem;
}
.comman-tabs .nav .nav-item .nav-link {
  width: 100%;
  color: var(--text-light);
  background-color: var(--white);
}
.comman-tabs .nav .nav-item .nav-link.active {
  color: var(--white);
  background-color: var(--blue-dark);
}
.comman-tabs-item {
  height: 45px;
  line-height: 45px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background-color: var(--light);
}
