/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  --main-color: #851814;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

a {
  color: var(--main-color);
  text-decoration: none;
}

a:hover {
  color: color-mix(in srgb, var(--main-color), black 20%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}
  
/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
  
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: -50px;
  padding: 0px;
  transition: all 0.3s;
}

.section {
  padding: 15px 15px 0px 15px;
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #fff;
}

.site-head {
  background-color: var(--main-color); 
  padding: 100px 100px 70px 22px;
  transition: all 0.3s;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 90000;
  background: var(--main-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: color-mix(in srgb, var(--main-color), black 20%);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: var(--main-color);
  padding: 15px;
}

.card-title {
  padding: 0px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--main-color);
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 20px 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--main-color);
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: white;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: var(--main-color);
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: var(--main-color);
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: var(--main-color);
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: var(--main-color);
}

#news-badge {
  background-color: var(--main-color) !important;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: var(--main-color);
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: var(--main-color);
  font-size: 22px;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 2px 5px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 20px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: -300px;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

.toggle-sidebar #main,
.toggle-sidebar #footer {
  margin-left: 0;
}

/*
@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 300px;
  }
}
*/

.toggle-sidebar .sidebar {
  left: 0;
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--main-color);
  transition: 0.3;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: var(--main-color);
}

.sidebar-nav .nav-link.collapsed {
  color: var(--main-color);
  background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link:hover {
  color: var(--main-color);
  background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
  color: var(--main-color);
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--main-color);
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
  background-color: #4154f1;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: var(--main-color);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: var(--main-color);
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 15px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: var(--main-color);
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: var(--main-color);
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: var(--main-color);
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: var(--main-color);
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 10px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  color: #012970;
}

.footer .disclaimer {
    padding-top: 5px;
    text-align: center;
    color: #444547;
}

/*--------------------------------------------------------------
# Custom-Border-User-Table
--------------------------------------------------------------*/
.custom-border-user-g {
    position: relative;
    padding-left: calc(var(--left-border-width, 7px));
    --left-border-width: 7px;
}

.custom-border-user-r {
    position: relative;
    padding-left: calc(var(--left-border-width, 7px));
    --left-border-width: 7px;
}

.custom-border-user-g::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--left-border-width);
    background-color: #008000;
}

.custom-border-user-r::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--left-border-width);
    background-color: #ff0000;
}

/*--------------------------------------------------------------
# Custom-Btn
--------------------------------------------------------------*/
.btn-custom {
  color: #fff;
  background-color: var(--main-color);
}

.btn-custom:hover {
  color: #fff;
  background-color: color-mix(in srgb, var(--main-color), black 20%);
}

.btn.disabled {
  color: #fff !important;
  background-color: #6c757d !important;
  opacity: 0.4 !important;
}

.btn-custom-error {
  color: #fff;
  background-color: #bf0000;
}

.btn-custom-error:hover {
  color: #fff;
  background-color: color-mix(in srgb, #bf0000, black 20%);
}

.btn-custom-success {
  color: white;
  background-color: #8bc34a !important; 
}

.btn-custom-success:hover {
  color: white;
  background-color: color-mix(in srgb, #8bc34a, black 20%) !important;
}

.form-check-input:checked {
    background-color: #851814 !important;
    border-color: #851814 !important;
}

.form-check-input:focus {
    border-color: #851814 !important;
    outline: 0 !important;
    box-shadow: 0 0 0 .25rem rgba(133, 24, 20, .25) !important;
}

.page-link {
    color: var(--main-color) !important;
}

.active>.page-link, .page-link.active {
    color: white !important;
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}

#sop_dropdown {
  position: relative !important; 
  inset: 0px auto auto 0px !important; 
  margin: 0px !important; 
  transform: translate3d(0px, 0px, 0px) !important;
}

/*--------------------------------------------------------------
# Calender
--------------------------------------------------------------*/
.fc-col-header-cell .custom-day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fc-col-header-cell .custom-day-header .day-circle {
    background-color: var(--main-color);
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
}

/* Beispiel: Rotes Event mit Icon */
.fc-event.red-event {
    background-color: #ff4d4d !important; /* rot */
    border: none !important;
}
.fc-event.red-event .fc-event-title::before {
    content: "🚫 "; /* Symbol vor dem Titel */
}
.fc-col-header-cell-cushion {
    color: black;
    text-decoration: none;
}
.fc-toolbar-title {
    color: white;
}
.fc-day-today {
    background-color: transparent !important;
}
.fc-header-toolbar {
    margin-bottom: 11px!important;
}
.fc-button-group {
    margin-right: 10px!important;
    margin-left: 10px!important;
}
.fc-daygrid-event .fc-event-title {
  color: black!important;
}
.fc-daygrid-event .fc-event-description {
    color: black!important;
}
.fc-daygrid-event .fc-event-place {
    color: black!important;
}
.calendar {
    padding-left: 0px!important;
    padding-right: 0px!important;
    padding-bottom: 0px!important;
}
/* Kalender nimmt den gesamten Platz in Main ein */
#calendar {
  flex: 1;
  width: 100%;
  height: 100%;
}

.calendar-custom-border-r {
    position: relative;
    /* Das Padding links sorgt dafür, dass der Inhalt nicht über den Rand läuft.
        Es berechnet sich aus der Summe der beiden möglichen Randbreiten. */
    padding-left: calc(var(--left-border-width, 5px) + var(--adjacent-border-width, 0px));
    /* Standardwerte – können durch Inline‑Styles oder zusätzliche Klassen überschrieben werden */
    --left-border-width: 5px;
    --left-border-color: red;
    --adjacent-border-width: 5px;
    --adjacent-border-color: transparent;
    }
    /* Pseudo-Element für den ersten (linken) Randstreifen */
.calendar-custom-border-r::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--left-border-width);
    background-color: var(--left-border-color);
}
.calendar-custom-border-g {
    position: relative;
    /* Das Padding links sorgt dafür, dass der Inhalt nicht über den Rand läuft.
        Es berechnet sich aus der Summe der beiden möglichen Randbreiten. */
    padding-left: calc(var(--left-border-width, 5px) + var(--adjacent-border-width, 0px));
    /* Standardwerte – können durch Inline‑Styles oder zusätzliche Klassen überschrieben werden */
    --left-border-width: 5px;
    --left-border-color: green;
    --adjacent-border-width: 5px;
    --adjacent-border-color: transparent;
    }
    /* Pseudo-Element für den ersten (linken) Randstreifen */
.calendar-custom-border-g::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--left-border-width);
    background-color: var(--left-border-color);
}


/*--------------------------------------------------------------
# Modals
--------------------------------------------------------------*/

.modal {
  --bs-modal-zindex: 91000 !important;
}

#modal-header-custom {
  background-color: var(--main-color) !important; 
  color: white;
}

#modal-content-custom {
  background-color: var(--main-color) !important;
  border: 0;
}

#modal-body-custom {
  background-color: #f6f9ff !important;
  color: #444444 !important;
}

#modal-footer-custom {
  background-color: #f6f9ff !important;
  color: #444444 !important;
  display: block;
}

#modal-header-custom-success {
  background-color: #8bc34a !important; 
  color: white;
}

#modal-header-custom-error {
  background-color: #bf0000 !important; 
  color: white;
}



/*--------------------------------------------------------------
# Bordered Tabs
--------------------------------------------------------------*/

.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: var(--main-color);
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: color-mix(in srgb, var(--main-color), black 20%);
  border-bottom: 2px solid color-mix(in srgb, var(--main-color), black 20%);
}



/*--------------------------------------------------------------
# Push News
--------------------------------------------------------------*/

.news-icon-col {
  color: white;
  border-radius: 0.375rem;
  background-color: #851814;
}

/* Das Wellen-SVG als Hintergrund eines schmalen Divs */
.news-wave-separator {
  position: absolute;
  top: 0; bottom: 0;
  right: -10px;       /* halb überlappend zur Icon-Spalte */
  width: 20px;
  background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 100' preserveAspectRatio='none'><path d='M0,0 C10,50 10,50 0,100 L20,100 L20,0 Z' fill='%23fff'/></svg>") no-repeat;
  background-size: 100% 100%;
}

#modal-news-button {
  color: white !important;
  background-color: var(--main-color) !important;
  border-color: var(--main-color) !important;
}

#modal-news-button:hover {
  color: white !important;
  background-color: color-mix(in srgb, var(--main-color), black 20%) !important;
  border-color: color-mix(in srgb, var(--main-color), black 20%) !important;
}

/* Das Element startet sichtbar */
#pushNews {
  opacity: 1;
  transition: opacity 0.5s ease; /* Dauer und Timing der Animation */
}
/* Klasse, die wir per JS hinzufügen, um das Ausblenden zu triggern */
.pushNews-fade-out {
  opacity: 0 !important;
}


/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/

#card-header-custom {
    border-color: #e4e4e4;
    background-color: var(--main-color);
    color: #ffffff;
    padding: 15px;
}

.azmls {
    padding: 0px 5px 20px 5px;
}


/*--------------------------------------------------------------
# PDF Viewer
--------------------------------------------------------------*/

/* 2) #main nimmt die Grid-Zelle mittlere Zeile ein und wird zum Flex-Container */
.main-pdf {
  display: flex;
  flex-direction: column;
}

/* 3) Section füllt den verfügbaren Raum und wird Flex-Container */
.section-pdf {
  flex: 1;                /* füllt den gesamten frei verfügbaren Platz */
  display: flex;
  margin: 0;
  padding: 0;
}

/* 4) Card innerhalb der Section ebenfalls strecken */
.section-pdf .card {
  flex: 1;
  display: flex;
  margin: 0;
}

/* 5) Card-Body ohne Padding, als Flex-Container für das Iframe */
.section-pdf .card .card-body {
  flex: 1;
  display: flex;
  padding: 0;
}

/* 6) PDF-Viewer */
.pdf-viewer {
  flex: 1;
  height: 500px!important;
  width: 100%;
  border: none;
}

/*--------------------------------------------------------------
# Handover Formulare
--------------------------------------------------------------*/

.handover_formular_title {
  padding: 10px;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  border-radius: 8px;
}

.handover_formular_title_accordion {
  margin-left: 5px;
  color: var(--main-color);
  font-weight: bold;
}

.accordion-button:disabled,
.accordion-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Validierungs-Highlight für Accordion */
.accordion-item.is-invalid {
    border: 2px solid #dc3545 !important;
    border-radius: 0.375rem;
}

.accordion-item.is-invalid .accordion-button {
    color: #dc3545;
}

.accordion-item.is-invalid .accordion-button:not(.collapsed) {
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.accordion-item.is-invalid .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Badge neben Accordion-Titel */
.validation-badge {
    font-size: 0.875rem;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.accordion-item.is-invalid.shake {
    animation: shake 0.4s ease-in-out;
}

/* Übergang für sanftere Darstellung */
.accordion-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Transport-Accordion invalid */
.transport-accordion.is-invalid {
    border: 2px solid #dc3545 !important;
    border-radius: 0.375rem;
    padding: 5px;
}

/* Transport-Item invalid */
.transport-item.is-invalid {
    border: 2px solid #dc3545 !important;
    border-radius: 0.375rem;
}

.transport-item.is-invalid .accordion-button {
    color: #dc3545;
}

.reason-char-counter {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}