@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  src: local("Poppins Regular"), local(Poppins-Regular),
    url(../fonts/Poppins-Regular.ttf) format("woff2");
  font-display: swap;
}

body {
  font-family: "Poppins", sans-serif !important;
}

select,
input,
textarea,
button {
  font-family: "Poppins", sans-serif !important;
}

.page-container .sidebar-menu #main-menu .active a span {
  font-size: 11px !important;
}

.download {
  font-size: 15px;
  color: #00f;
}
.Approved,
.Completed,
.Declined,
.Forward,
.Going,
.Pending,
.Reject,
.Requested,
.Return {
  color: #fff;
  padding: 3px 3px 3px 9px;
  border-radius: 16px;
}
.Pending,
.Requested {
  background-color: #1827d8;
}
.Approved,
.Forward,
.Return {
  background-color: green;
}
.Completed {
  background-color: gray;
}
.Going {
  background-color: #03a9f4;
}
.Declined,
.Reject {
  background-color: red;
}
.main-content,
.sidebar-menu {
  min-height: auto !important;
}

.page-body {
  overflow-x: hidden;
}

.sidebar-menu {
  height: 100% !important;
  overflow: auto !important;
}

.sidebar-menu {
  min-height: 100vh;
  overflow-y: scroll;
}

.sidebar-menu::-webkit-scrollbar {
  width: 6px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
  background-color: #949494;
  border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.page-container {
  min-height: 100vh;
}

footer.main {
  position: relative !important;
  margin-top: 75px !important;
}

.page-container .sidebar-menu #main-menu {
  margin: 0 !important;
  margin-top: 15px !important;
}

#new_card .card {
  border-radius: 8px;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 60, 0.1), 0 0px 6px 0 rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

#new_card .card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

#new_card .card-body {
  padding: 20px 30px;
}

#new_card .inner-box-1 {
  background-color: #f4f5f7 !important;
  border-radius: 8px;
}

#new_card .card-header {
  color: black;
  border-radius: 8px 8px 0 0 !important;
}

#new_card .card-header h3 {
  margin: 0;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#new_card hr.break {
  background: linear-gradient(to right, transparent, #abb5be, transparent);
  height: 1px;
  border: 0;
  margin: 25px 0;
}

#new_card .form-group {
  display: flex;
  align-items: center;
}

#new_card .form-label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  display: block;
}

#new_card .form-control {
  border-radius: 6px;
  border: 1px solid #d1d9e6;
  padding: 0 7px;
  height: 35px;
  transition: all 0.3s;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
  border-color: #4a90e2;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05),
    0 0 0 3px rgba(74, 144, 226, 0.15);
}

#new_card .text-muted {
  font-size: 10px;
  margin-top: 5px;
  display: block;
  color: #6c757d !important;
}

#new_card .btn-success:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .col-sm-7 {
    width: 100%;
  }

  .col-sm-3.control-label {
    width: 100%;
    margin-bottom: 5px;
  }
}

.custom-jumbotron {
  position: relative;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  padding: 52px;
  transition: all 0.3s ease;
}

.custom-jumbotron:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.custom-jumbotron .bg-holder {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: url("<?php echo base_url('assets/images/corner-4.png'); ?>")
    no-repeat center;
  border-radius: 10px;
  background-size: contain;
  pointer-events: none;
}

.custom-jumbotron .jumbotron-content {
  position: relative;
  z-index: 2;
  color: #333;
}

.custom-jumbotron .jumbotron-content h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.custom-modal {
  border-radius: 10px;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 60, 0.1), 0 0px 6px 0 rgba(0, 0, 0, 0.07);
}

.employee-form .form-group {
  margin-bottom: 20px;
}

.custom-radio input[type="radio"] {
  display: none;
}

.custom-radio {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  color: #333;
  display: inline-block;
  user-select: none;
  transition: color 0.3s ease;
}

.custom-radio:hover {
  color: #007bff;
}

.custom-radio .radio-btn {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.custom-radio input[type="radio"]:checked + .radio-btn {
  background-color: #007bff;
  border-color: #007bff;
}

.custom-radio .radio-btn::after {
  content: "";
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.custom-radio input[type="radio"]:checked + .radio-btn::after {
  display: block;
}

/* Green (success) – big button */
#new_card .btn-success {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3);
  width: 150px;
  height: auto;
}
#new_card .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(46, 204, 113, 0.4);
}

/* Red (danger) – small button */
#new_card .btn-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
  width: 140px;
  height: auto;
}
#new_card .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);
}

/* Blue (primary) – very wide */
#new_card .btn-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
  width: 140px;
  height: auto;
}
#new_card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
}

/* Orange (warning) – tiny button */
#new_card .btn-warning {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(243, 156, 18, 0.3);
  width: 140px;
  height: auto;
}
#new_card .btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(243, 156, 18, 0.4);
}

/* Gray (secondary) */
#new_card .btn-secondary {
  background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(149, 165, 166, 0.3);
  width: 140px;
  height: auto;
}

#new_card .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(149, 165, 166, 0.4);
}

#new_card #add_ded_btn {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-open .page-container {
  padding-right: 0 !important;
}

.is-invalid {
  border: 1px solid #dc3545 !important;
  box-shadow: none;
}

.nav-tabs.bordered {
  margin-bottom: 15px !important;
}

textarea.form-control {
  height: auto !important;
}

input[type="file"] {
  background: none !important;
  border: none !important;
  outline: none;
  box-shadow: none;
}

.modal-body {
  height: 100% !important;
}
