@import url("../vendor/fonts/OpenSans/stylesheet.css");
/**
* Template Name: NiceAdmin
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Updated: Apr 7 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

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

body {
  font-family: "Open Sans", sans-serif;
  background: linear-gradient(-45deg, rgba(146, 146, 255, 1) 0%, rgba(205, 233, 255, 1) 100%);
  color: #344767;
}

.card-body {
  color: #344767;
  padding: 20px;
}

.table {
  color: #344767 !important;
}

.table thead th {
  padding: 0.75rem 1.5rem;
  text-transform: capitalize;
  letter-spacing: 0px;
  border-bottom: 1px solid #e9ecef;
  border-bottom-color: rgb(233, 236, 239);
}

.min-height-300 {
  min-height: 300px !important;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

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

.bg-primary {
  background-color: #5e72e4 !important;
}

.datatable-selector {
  padding: 8px;
  background-color: #fff;
  border: solid 1px #d7d7d7;
  border-radius: 6px;
}

.text-secondary {
  color: #aab2be !important;
}

.text-xxs {
  font-size: 0.7rem !important;
}

.datatable-top,
.datatable-bottom {
  padding: 8px 25px;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  padding: 20px 25px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

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

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

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 62px;
  transition: all 0.4s;
}

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

.back-to-top:hover {
  background: #6776f4;
  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;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@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: 30px;
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 10px 0px 15px 0px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #5e72e4;
}

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



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

.card-body .tt .agregar {
  margin-left: auto;
}

.card-body .tt .btn {
  margin-bottom: 1rem;
  letter-spacing: -0.025rem;
  text-transform: none;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
  font-weight: 700;
  color: #67748e;
  padding: 8px 18px;
}

.card-body .tt .btn:hover {
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #5e72e4;
}

.card-body .tt a:hover {
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  height: 25px;
}

.card-body .tt {
  gap: 20px;
  position: relative;
}

.card-body .tt .volver {
  right: 0px;
  position: absolute;
}

/* 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: #012970;
  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: #51678f;
  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;
  width: 100px;
}



.logo img {
  max-height: 38px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  padding: 25px;
  position: relative;
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

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

@media (max-width: 1199px) {
  .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;
  }

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

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

.search-form input:focus,
.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);
}

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

.search-form button i {
  color: #012970;
}

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

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

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #fff;
}

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

.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: 3px 6px;
}

.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: 8px !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;
  color: #5e72e4;
}

.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: 0;
  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;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

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

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


@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

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

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.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: #4154f1;
  transition: 0.3;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
  color: #012970;
  background: #fff;
}

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

.sidebar-nav .nav-link:hover {
  color: #4154f1;
  background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
  color: #4154f1;
}

.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: #012970;
  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: #012970;
  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: #012970;
  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: 14px;
}

.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: #012970;
  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: #012970;
}

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

.profile .profile-overview .card-title {
  color: #012970;
}

.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: #012970;
  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: #012970;
  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: 14px;
  transition: all 0.3s;
}

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

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

.table> :not(caption)>*>* {
  color: #344767;
}

.datatable-pagination .datatable-active button {
  background-color: #ededed;
  cursor: default;
  border-radius: 20px;
}

.avatar {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 0.75rem;
  height: 35px;
  width: 16px;
  transition: all .2s ease-in-out;
}

.btn-primary {
  background: linear-gradient(-45deg, rgb(95, 115, 225) 0%, rgb(99, 98, 208) 100%);
  border: none;
  font-weight: 600;
  height: 36px;
}

.btn-primary:hover {
  background: linear-gradient(-45deg, rgb(55, 76, 192) 0%, rgb(99, 98, 208) 100%);
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
}

td h6 strong {
  font-weight: 600;
}

.paciente {
  z-index: 10;
  position: relative;
  color: #fff;
  border-top: solid 1px;
  padding: 20px 0;
}

.paciente a {
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  height: 40px;
  width: 40px;
  padding: 2px 6px;
  border-radius: 3px;
}

.paciente a:hover {
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #5e72e4;
  border: solid 1px #fff;
}

.paciente .volver {
  box-shadow: none;
}

.paciente .volver:hover {
  box-shadow: none;
  border: none;
}

.paciente .active {
  border: solid 1px #fff;
}

/*--------------------------------------------------------------
# Login
--------------------------------------------------------------*/

.login-simplehc {
  background: url(../img/login-bg.png);
  background-size: 100%;
}

.register .btn-primary {
  background: linear-gradient(-45deg, rgb(95, 115, 225) 0%, rgb(99, 98, 208) 100%);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  height: 50px;
}

.form-floating>label {
  color: #8c8c8c !important;
}

.register .card {
  box-shadow: none;
  background: none;
}

.register .logo-hc {
  width: 200px;
}

.register .desarrollado-por {
  color: #fff;
  margin-top: 40px;
}

.register .desarrollado-por img {
  float: right;
  width: 75px;
  margin-left: 15px;
}

.register .mb {
  display: none;
}

.register .error {
  color: #ea0000;
  margin-top: -10px;
}

@media (max-width: 992px) {
  .login-simplehc {
    background: url(../img/login-bg-mb.png) #fff no-repeat;
    background-size: 100%;
  }

  .register .mb {
    display: block;
  }

  .register .dk {
    display: none !important;
  }

  .register .mb .logo-hc {
    width: 45%;
  }

  .register .desarrollado-por-mb {
    color: #344767;
    width: 85%;
    margin: 40px auto 0;
  }

  .register .desarrollado-por-mb img {
    float: right;
    width: 70px;
    margin-left: 5px;
  }
}

.mb {
  display: none;
}

@media (max-width: 768px) {
  .mb .table tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    /* ya no hace falta margin porque el borde separa */
    border: none;
    border-bottom: 1px solid #dee2e6;
    /* separa cada fila */
  }

  .mb .table td {
    border: none;
    padding: .5rem;
  }

  /* Primer td: mitad de ancho con borde derecho */
  .mb .table td:nth-child(1) {
    width: 50%;
    border-right: 1px solid #dee2e6;
  }

  /* Segundo td: mitad de ancho */
  .mb .table td:nth-child(2) {
    width: 50%;
  }

  /* Último td: ocupa todo el ancho con borde superior */
  .mb .table td:last-child {
    width: 100%;
    text-align: center;
    padding-bottom: 12px;
    background: none;
  }

  /* Ocultar thead en mobile */
  .mb .table thead {
    display: none;
  }

  /* Ocultar "X registros por página" */
  .datatable-dropdown {
    display: none !important;
  }

  /* Ocultar "Mostrando del 1 al 10 de 16 registros" */
  .datatable-info {
    display: none !important;
  }

  .datatable-input {
    width: 100%;
  }

  .datatable-top>div:not(first-child) {
    float: none;
  }
}

@media (max-width: 768px) {
  .tt {
    flex-wrap: wrap;
    /* permite que se bajen elementos */
    padding-left: 3px !important;
    padding-top: 0px !important;
  }

  .tt h5 {
    order: 1;
    flex: 1;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .tt a {
    order: 2;
    margin: 20px auto 0;
  }

  .tt .agregar {
    order: 3;
    width: 100%;
    margin-top: 0 !important
  }
}

.datatable .alerta {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(209, 70, 103, 0.69) 100%);
}

.paciente {
  width: 100%;
}

.paciente .col-1,
.paciente .col-2 {
  white-space: nowrap;
}

.paciente .icono {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  /* fondo translúcido como en el diseño */
  border-radius: 6px;
  padding: 6px;
}

.paciente .icono img {
  display: block;
}

.paciente .consulta-volver-btn {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.paciente .consulta-volver-btn:hover {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.datatable .alta {
  border-top: solid 2px #4154f1 !important;
}

.datatable .inicial {
  border-bottom: solid 2px #4154f1 !important;
}

.datatable .union {
  padding: 0;
}

.datatable .union img {
  position: absolute;
}

.datatable .union p {
  margin: 0;
  line-height: 42px;
  padding-left: 23px;
}

@media (max-width: 768px) {
  .paciente {
    flex-direction: column;
  }

  .paciente>div {
    flex: 1 1 100%;
    /* ocupan todo el ancho */
    width: 100%;
    /* se aseguran de expandirse */
    border-right: none !important;
    border-bottom: 1px solid #ddd;
    /* separador opcional */
    margin-bottom: 0.75rem;
    padding-left: 0;
    /* alineación a la izquierda */
    padding-right: 0;
    padding-bottom: 8px;
  }

  .paciente>div:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  /* Íconos alineados a la izquierda en mobile */
  .paciente .d-flex.justify-content-end {
    justify-content: flex-start !important;
  }
}

.datatable-input {
  padding: 6px 12px;
  border: solid 1px #d7d7d7;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .mb .table thead {
    display: none;
    /* Ocultamos encabezado */
  }

  .mb .table,
  .mb .table tbody,
  .mb .table tr,
  .mb .table td {
    display: block;
    width: 100%;
  }

  .mb .table tr {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
    padding-bottom: 10px;
  }

  .mb .table td {
    border: none;
    /* Quitamos bordes de la tabla */
    padding: 0;
  }

  .mb .table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .gris {
    color: #aab2be !important;
  }

  .dk {
    display: none;
  }

  .mb {
    display: block;
  }

  .datatable .seguimiento {
    background: url("../img/mb_seguimiento-alerta-bg.png") left center no-repeat;
    background-size: contain;
    padding-left: 20px;
  }

  .datatable .alerta {
    background: url("../img/mb_alerta-bg.png") right center no-repeat;
    background-size: contain;
  }
}

/* --- Responsive tabla consultas --- */
@media (max-width: 768px) {
  #listado-consultas .datatable tr {
    display: block;
    border-bottom: 1px solid #ddd;
    /* separación entre filas */
  }

  #listado-consultas .datatable td {
    display: block;
    width: 100%;
    background: none;
  }

  /* Columna de acciones */
  #listado-consultas .datatable td:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
    /* separación respecto al texto */
  }

  /* Íconos alineados a la izquierda por defecto */
  #listado-consultas .datatable td:last-child a {
    margin-right: 8px;
  }

  /* Ícono de alerta a la derecha */
  #listado-consultas .datatable td:last-child a.alerta {
    margin-left: auto;
  }
}

#nuevo .text-secondary {
  font-size: 0.9rem;
  margin: 5px 0 0;
}

#nuevo .btn-primary {
  background: linear-gradient(-45deg, rgb(95, 115, 225) 0%, rgb(99, 98, 208) 100%);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  height: 36px;
  width: 170px;
}

#nuevo .btn-outline-primary {
  width: auto;
  font-weight: 600;
  border: solid 1px #5e72e4;
  color: #5e72e4;
}

#nuevo .btn-outline-primary:hover {
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
  background: none;
}

.form-check-input:checked {
  background-color: #5e72e4;
  border-color: #5e72e4;
}

.btn-form {
  display: flex;
  flex-direction: row;
  /* por defecto en desktop: lado a lado */
  justify-content: center;
  gap: 10px;
  /* separación entre botones */
  margin-top: 30px;
}

@media (max-width: 576px) {
  .btn-form {
    flex-direction: column-reverse;
    /* invierte el orden vertical */
    align-items: center;
    /* centra los botones */
  }

  #nuevo form {
    padding: 0;
  }
}

.nav-pills {
  --bs-nav-pills-link-active-color: #5e72e4;
  --bs-nav-pills-link-active-bg: none;
  justify-content: center;
}

.nav {
  --bs-nav-link-color: #aab2be;
  --bs-nav-link-hover-color: #aab2be;
}

#nuevo .step .btn-primary {
  width: auto;
  padding: 0 30px;
}

#nuevo .btn-enviar .btn-outline-primary {
  width: auto;
}

/* Desktop y tablets */
#nuevo .botones-contenedor {
  flex-wrap: nowrap;
  /* Que quede todo en una sola fila */
}

#nuevo .btn-enviar {
  margin-top: 30px;
}

/* Mobile */
@media (max-width: 768px) {
  #nuevo .botones-contenedor {
    flex-direction: column;
    /* Apilamos */
    align-items: stretch;
    /* Que ocupen todo el ancho */
    gap: 10px;
    /* Espacio entre bloques */
  }

  #nuevo .btn-enviar {
    justify-content: flex-start;
    /* Izquierda */
  }

  #nuevo .botones-contenedor .btn-form {
    justify-content: flex-end;
    /* Derecha */
    margin-top: 10px;
  }

  #pills-tab {
    flex-direction: column;
    /* Que los <li> se apilen */
    align-items: flex-start;
    /* Alineación a la izquierda */
    margin: 15px 6px;
  }

  #pills-tab .nav-item {
    width: 100%;
    /* Que cada item ocupe todo el ancho */

  }

  #pills-tab .nav-link {
    text-align: left;
    /* Texto a la izquierda */
    width: 100%;
    /* Botón al ancho completo */
    padding: 0;
  }

  #nuevo .btn-primary {
    width: 100%;
    height: 40px;
  }

  #nuevo .btn-outline-primary {
    width: 100%;
  }

  #nuevo .step .btn-primary {
    width: 100%;
    height: 40px;
  }
}

.text-primary {
  color: rgb(94, 114, 228) !important;
}

#nuevo .examen-consulta {
  border-top: solid 1px #d9d9d9;
  margin-top: 30px;
}

#nuevo .card-header {
  background: linear-gradient(-45deg, rgba(146, 146, 255, 1) 0%, rgba(205, 233, 255, 1) 100%);
  color: #6363d1;
}

#nuevo .list-group li {
  border-bottom: solid 1px #e2e2e2;
  border-radius: 0;
}

.card {
  margin-top: 20px;
}

.datos h6 {
  color: #5e72e4;
}

.datos .btn-outline-primary {
  width: auto;
  font-weight: 600;
  border: solid 1px #5e72e4;
  color: #5e72e4;
  width: 180px;
}

.datos .btn-outline-primary:hover {
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
  background: none;
}

.datos .btn-outline-primary img {
  margin: -5px 5px 0 0;
}

/* Botones más anchos, sin salto de línea */
.btn-add {
  white-space: nowrap;
  flex: 0 0 130px;
  /* ancho fijo aproximado */
}

/* Lista de diagnósticos / archivos */
.list-diagnosticos {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding: 0;
}

.list-diagnosticos li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 11px 5px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #606fdd;
  border-bottom: solid 1px #ebebeb;
}

.list-diagnosticos li span::before {
  margin-right: 4px;
}

.list-diagnosticos li a img {
  margin-left: 8px;
  vertical-align: middle;
}

.padingCardHc {
  padding: 0 24px 30px;
}

.secciones {
  border: solid 1px #4154f1;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}

.dots {
  color: #bababa;
}

.campo-personalizado {
  border-top: solid 1px #ebe6e6;
  padding-top: 15px;
}

.secciones .card-title,
.campo-personalizado .card-title,
.buscar-campos .card-title {
  padding: 5px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #5e72e4;
}

.lista-buscar {
  border: solid 1px #ebe6e6;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}

#EspecialidadesModal .especialidades-list {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}


/* Contenedor tabla */
.custom-table {
  display: flex;
  flex-direction: column;
  border-collapse: collapse;
  width: 100%;
}

/* Fila */
.custom-table .row-like {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
  /* igual que tabla bootstrap */
}

.custom-table .header {
  font-weight: bold;
}

.custom-table .cell-like {
  flex: 1;
  padding: 0.5rem;
}

.custom-table .cell-like.text-end {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.custom-table .row-like:hover {
  background-color: #f8f9fa;
  cursor: grab;
}

.custom-table .header:hover {
  background-color: transparent;
  cursor: default;
}

.dots:hover {
  color: #bababa;
}

.editable-title {
  border: none;
  background: transparent;
  outline: none;
  width: auto;
  margin: 0;
  padding: 5px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #445573;
}

.editable-title:focus {
  border-bottom: 1px solid #0d6efd;
}

.tt-seccion i {
  color: #445573;
}

.plantilla .btn {
  letter-spacing: -0.025rem;
  text-transform: none;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
  font-weight: 700;
  color: #67748e;
  padding: 8px 18px;
}

.hc-seccion {
  border-bottom: solid 1px #cecece;
  margin-bottom: 20px;
}

.tt-plantilla .editable-title {
  border: none;
  background: transparent;
  outline: none;
  width: auto;
  margin: 0;
  padding: 5px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #5e72e4;
}

.tt-plantilla i {
  color: #5e72e4;
}

@media (max-width: 768px) {
  .hc-seccion .card {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hc-seccion .tt-seccion {
    margin-bottom: 20px;
  }

  .hc-seccion {
    padding-bottom: 20px;
  }

  .card-body .tt {
    margin-bottom: 30px;
  }

  .text-right {
    text-align: center !important;
    margin: 20px 0;
  }
}

.text-right {
  text-align: right;
}

.hc-archivo a {
  z-index: 10;
  width: 220px;
  position: absolute;
  top: 52px;
  right: 295px;
}

.hc-archivo a:hover {
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
  background: none;
  color: #fff;
}

@media (max-width: 768px) {
  .hc-archivo a {
    z-index: 10;
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
  }
}


/* Pills estilo Argon */
.custom-pills {
  position: relative;
  background: #4154f1;
  border-radius: 8px;
  padding: 4px;
}

.custom-pills .nav-link {
  border: none;
  color: #fff;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}

.custom-pills .nav-link.active {
  color: #1e2a46;
  background: transparent;
}

/* Underline animado */
.custom-pills::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 0;
  background: #fff;
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

/* Movemos el highlight según la pestaña activa */
.custom-pills .nav-link.active {
  color: #1e2a46;
}

.custom-pills[data-active-index="0"]::after {
  left: 6px;
  width: calc(20% - 12px);
}

.custom-pills[data-active-index="1"]::after {
  left: 20%;
  width: calc(20% - 12px);
}

.custom-pills[data-active-index="2"]::after {
  left: 40%;
  width: calc(20% - 12px);
}

.custom-pills[data-active-index="3"]::after {
  left: 60%;
  width: calc(20% - 12px);
}

.custom-pills[data-active-index="4"]::after {
  left: 80%;
  width: calc(20% - 12px);
}

.hc-tt .card-title {
  padding: 10px 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #5e72e4;
}

.hc-tt p {
  color: #5e72e4;
}

.hc-tt .card-title i {
  margin-right: 10px;
}

.hc {
  padding: 0;
}

.hc h6 {
  text-transform: uppercase;
  font-weight: 600;
}

.datos-hc {
  padding: 20px;
}

.hc-tt {
  padding: 20px;
  background: url(../img/hc-bg.png);
  background-size: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.hc .col-lg-4 {
  border-left: solid 1px #e8e8e8;
}

/* Mobile: vertical tabs */
@media (max-width: 768px) {
  .custom-pills {
    flex-direction: column !important;
    align-items: stretch !important;
    box-shadow: none !important;
    border-radius: .75rem;
    background: #3d4fd9;
    /* mismo fondo que desktop */
    padding: .5rem;
    position: relative;
  }

  /* Ocultar el pseudo-elemento animado en mobile */
  .custom-pills::after {
    display: none !important;
  }

  .custom-pills {
    margin: 20px 0 !important;
  }

  .custom-pills .nav-item {
    width: 100%;
  }

  .custom-pills .nav-link {
    width: 100%;
    text-align: left;
    border-radius: .5rem;
    background: transparent;
    color: #fff;
    font-weight: 500;
    padding: .75rem 1rem;
    box-shadow: none !important;
  }

  /* Estado activo en mobile */
  .custom-pills .nav-link.active {
    background: #fff !important;
    color: #2d2d2d !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .custom-pills .nav-link {
    text-align: center !important;
    /* Texto a la izquierda */
    width: 100%;
    /* Botón al ancho completo */
    padding: 5px !important;
  }
}

.fecha-hc {
  color: #4154f1;
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
}

.datos-hc .table thead th {
  padding: 10px;
}

.mas-info i {
  font-size: 1.3rem;
}

@media (max-width: 768px) {

  .cp-hc,
  .cp-hc tbody,
  .cp-hc tr,
  .cp-hc td {
    display: table;
    width: 100%;
  }

  .cp-hc tr {
    border-right: 1px solid #ddd;
    margin-bottom: 0;
    padding-bottom: 10px;
  }

  .cp-hc td {
    border: none;
    /* Quitamos bordes de la tabla */
    padding-left: 10px !important;
  }

  .cp-hc td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .cp-hc th {
    width: 50%;
    font-size: 0.8rem;
  }

  .hc {
    min-height: 364px !important;
  }
}

.accordion-header button {
  font-size: 1.2rem;
  font-weight: 600;
  color: #5e72e4;
}

.accordion-body iframe {
  height: 600px;
  width: 73%;
  margin: auto;
}

#diagnosticos .hc-archivo a:hover {
  color: #0d6efd;
}


/* Underline animado */
#informacion .custom-pills::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 0;
  background: #fff;
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

#informacion .custom-pills[data-active-index="0"]::after {
  left: 6px;
  width: calc(33% - 12px);
}

#informacion .custom-pills[data-active-index="1"]::after {
  left: 35%;
  width: calc(33% - 12px);
}

#informacion .custom-pills[data-active-index="2"]::after {
  left: 70%;
  width: calc(30% - 12px);
}

.dias-semana {
  display: flex;
  justify-content: left;
  gap: 8px;
  margin-top: 10px;
}

.btn-dia {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  background: #fff;
  color: #c3c6c9;
  transition: all 0.2s ease;
}

.btn-dia.active {
  background: #5e72e4;
  color: #fff;
  border: 2px solid #5e72e4;
}

.btn-dia:hover {
  opacity: 0.85;
}

.horarios-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.dia-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dia-nombre {
  width: 115px;
  font-weight: 500;
}

.horario-select {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.horario-select select {
  width: 165px;
}

.add-btn,
.remove-btn {
  padding: 0px 6px;
  font-weight: bold;
  border-radius: 27px;
  height: 25px;
  width: 25px;
}

.remove-btn {
  border-color: #dc3545;
  color: #dc3545;
}

.horarios-list strong {
  width: 96px;
  display: block;
  float: left;
}

.tt-especialidad .search-form {
  width: 100%;
  margin: auto;
  height: 55px;
}

.tt-especialidad .search-form input {
  width: 100%;
  height: 55px;
}

.secciones .tt {
  border-bottom: solid 1px #5e72e4;
  margin-bottom: 20px;
}

.agregar-practica {
  gap: 15px;
  margin-bottom: 20px;
}

.agregar-practica .search-form {
  width: 100%;
  height: 55px;
}

.agregar-practica .search-form input {
  width: 100%;
  height: 55px;
}

.agregar-practica p {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #adb5c0;
  margin-bottom: 10px;
}

.especialidad {
  padding-left: 1rem;
  padding-right: 1rem;
}

.especialidad .col-lg-6 {
  width: 49%;
  margin: 20px auto;
}

@media (max-width: 768px) {
  .tt-especialidad .search-form input {
    width: 100%;
  }

  .tt-especialidad .search-form {
    width: 100%;
  }

  .especialidad .col-lg-6 {
    width: 100%;
  }

  .especialidad .tt a {
    margin: 0;
  }
}

.tt-especialidad {
  width: 49%;
  margin: auto;
}

.tt-especialidad .card-title {
  padding: 10px 0px 5px 0px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #adb5c0;
}

@media (max-width: 768px) {
  .tt-especialidad {
    width: 100%;
  }

  .cards-seccion .col-lg-6 {
    margin: 15px 0 0;
  }

  .especialidad .field-card {
    margin: 0;
    margin-bottom: -15px;
  }
}

.paciente .form-check-input:checked {
  background-color: #6e80e6;
  border-color: #daefff;
}

.signos .accordion-button {
  box-shadow: none;
  color: #012970;
  font-weight: 400;
  font-size: 1rem;
}

.signos .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #012970;
  font-weight: 400;
  font-size: 1rem;
}

.signos {
  border-top: solid 1px #d9d9d9;
}

.signos .col-md-2 {
  flex: 0 0 auto;
  width: 13%;
}

.min-height-400 {
  min-height: 370px !important;
}

@media (max-width: 768px) {
  .signos .col-md-1 {
    width: 33.33%;
    padding: 0 5px;
  }

  .signos .col-md-2 {
    width: 33.33%;
    padding: 0 5px;
  }

  #nuevo .dk .btn-outline-danger {
    display: none;
  }

  #consultas .datatable-container {
    overflow-x: auto;
  }

  #diagnosticos .datatable-container {
    overflow-x: auto;
  }

  #tratamientos .datatable-container {
    overflow-x: auto;
  }

  #estudios .datatable-container {
    overflow-x: auto;
  }
}

#dashboard .plan .btn-outline-light {
  width: 230px;
  line-height: 24px;
  border-radius: 6px;
  padding: 6px 12px;
  margin-left: 15px;
}

#dashboard .plan {
  display: flex;
}

#dashboard .avatar {
  border-radius: 0;
  height: 43px;
  width: 25px;
}

.dashboard .numbers .text-sm {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.dashboard .btn-outline-primary {
  font-weight: 600;
  border: solid 1px #5e72e4;
  color: #5e72e4;
}

.dashboard .btn-primary {
  font-weight: 600;
  border: solid 1px #5e72e4;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.4;
  height: 38px;
}

#dashboard .plan .btn-outline-light:hover {
  box-shadow: 0 5px 7px rgba(50, 50, 93, 0.178), 0 1px 3px rgba(0, 0, 0, 0.08);
  background: none;
  color: #fff;
}

.dashboard .btn-outline-primary:hover {
  background: #5e72e4;
  color: #fff;
}

@media (max-width: 768px) {
  #dashboard .plan {
    display: block;
  }

  #dashboard .plan .btn-outline-light {
    margin-left: 0;
    margin-top: 10px;
  }

  .card {
    margin-bottom: 15px;
  }
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #fff;
}

.header-nav .badge-number {
  padding: 3px 5px;
  background: #fff !important;
  color: #344767;
}

.mensaje-caducado {
  color: #8a8a8a !important;
  opacity: 0.4;
}

.nuevo-msj .btn-form {
  margin-top: 0;
}

.nuevo-msj .btn-volver img {
  display: block;
}

.nuevo-msj .tt {
  width: 100%;
}

.btn-form-right,
.row .d-flex.justify-content-end {
  text-align: right;
}

.nuevo-msj .btn-primary {
  width: 250px;
}

@media (max-width: 768px) {

  .tabla-mensajes thead {
    display: none;
  }

  .tabla-mensajes tr {
    display: block;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
  }

  .tabla-mensajes td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px 0;
    border-bottom: none;
  }

  .tabla-mensajes td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    color: #666;
  }

  .tabla-mensajes td[data-label="Fecha"],
  .tabla-mensajes td[data-label="Estado"] {
    width: 50%;
    float: left;
  }

  .tabla-mensajes td[data-label="Mensaje"] {
    width: 100%;
    float: none;
    margin-bottom: 10px;
  }

  .tabla-mensajes tr::after {
    content: "";
    display: table;
    clear: both;
  }

  .nuevo-msj .btn-form {
    margin-top: 10px;
  }

  .plan {
    display: block !important;
  }

  .nuevo-msj .btn-primary {
    width: 100%;
    margin-top: 20px;
  }
}

.agenda .avatar {
  border-radius: 0;
  height: 45px;
  width: 30px;
  margin-right: 15px;
}

.agenda .custom-pills[data-active-index="0"]::after {
  left: 6px;
  width: calc(50% - 12px);
}

.agenda .custom-pills[data-active-index="1"]::after {
  left: 50%;
  width: calc(50% - 12px);
}

.agenda .nuevo-turno {
  box-shadow: none;
  height: 40px;
  width: 170px;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  line-height: 30px;
  display: block;
}

.agenda .nuevo-turno:hover {
  color: #fff;
}

.nuevo-turno::after {
  display: none !important;
}

.dropdown-menu-arrow {
  margin-top: 10px;
}

.dropdown-menu-arrow::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 16px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-left: 1px solid rgba(0, 0, 0, .15);
  border-top: 1px solid rgba(0, 0, 0, .15);
}

.nuevo-turno-menu {
  min-width: 280px;
}

.nuevo-turno-menu .card-title {
  padding: 10px 15px 15px;
}

.nuevo-turno-menu .form-floating>label {
  left: 15px;
}

.nuevo-turno-menu .btn-primary {
  width: 89%;
  margin-left: 16px;
}

.agenda .accordion-header button {
  font-size: 1rem;
  font-weight: 500;
  color: #344767;
  padding: 10px;
}

.agenda .accordion-body {
  padding: 0;
}

.filtros-estados {
  padding: 0 15px;
}

.turno-icono {
  font-size: 25px;
  color: #5e72e4;
}

strong {
  font-weight: 600;
}

.turno-contenido {
  line-height: 20px;
  border-left: solid 5px;
  border-radius: 5px;
  border-color: #5e72e4;
  padding: 5px 10px;
  margin-left: 35px;
}

.turno-row {
  position: relative;
  min-height: 50px;
}

.turno-hora {
  position: absolute;
  top: -13px;
  background: #fff;
}

.turno-info {
  border-right: solid 1px #adb5c0;
  padding-right: 15px;
  margin-right: 15px;
  min-width: 200px;
}

.ausente,
.atendido {
  border-color: #aab2be;
  color: #aab2be;
}

.ausente .turno-icono,
.atendido .turno-icono {
  border-color: #aab2be;
  color: #aab2be;
}

.en-espera {
  border-color: #49b147;
}

.en-espera .turno-icono {
  color: #49b147;
}

.iniciado {
  background: linear-gradient(-45deg, rgba(146, 146, 255, 0.28) 0%, rgba(205, 233, 255, 0.47) 100%);
}

.cancelado {
  border-color: #ed5353;
}

.cancelado .turno-icono {
  color: #ed5353;
}

.turno-row:hover {
  background-color: #5f72e20d;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  color: #aab2be;
  pointer-events: none;
  background-color: var(--bs-btn-disabled-bg);
  border-color: #aab2be;
  opacity: var(--bs-btn-disabled-opacity);
}

.turno-contenido button {
  width: 133px;
}

.turno-contenido .btn-primary {
  height: 31px;
}

.btn-outline-primary {
  --bs-btn-color: #6265d3;
  --bs-btn-border-color: #6266d4;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6265d3;
  --bs-btn-hover-border-color: #6265d3;
}

.agenda .paciente {
  padding: 0;
}

.agenda .card-title {
  padding: 15px 0px 10px 0px;
}

.agenda .dia {
  margin: 0 0 30px;
  padding-top: 10px;
  font-weight: 600;
  padding-right: 10px;
}

.agenda .dia i {
  font-size: 25px;
}

.agenda .dia .text span {
  font-weight: 600;
  border: solid 2px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 5px;
}

.ingresar {
  display: flex;
}

@media (max-width: 768px) {
  .agenda .paciente {
    padding-top: 10px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
  }

  .agenda .paciente .col-lg-3 {
    margin-right: 0 !important;
    padding: 0 0 10px !important;
  }

  .agenda .avatar {
    margin-left: 15px;
  }

  .agenda .custom-pills {
    margin: 0 !important;
  }

  .agenda .custom-pills {
    flex-direction: initial !important;
  }

  .agenda #pills-tab .nav-item {
    width: 33%;
  }

  .turno-contenido {
    display: block !important;
  }

  .turno-info {
    border-right: none;
    min-width: 0;
    margin-bottom: 10px;
    padding-right: 0;
    margin-right: 0;
  }

  .turno-consulta {
    margin-bottom: 10px;
  }

  .turno-icono {
    font-size: 30px;
    float: left;
    margin-top: 10px;
  }

  .column-datos,
  .column-dia {
    display: none !important;
  }

  .agenda .nuevo-turno {
    width: 100%;
  }

  .column-acciones .dropdown {
    width: 100%;
  }

  #dashboard .plan .btn-outline-light {
    width: 100%;
  }

  .nuevo-turno-menu {
    min-width: 100%;
  }

  .agenda .col-lg-9 {
    padding-left: 0;
    padding-right: 0;
  }

  .agenda .col-lg-3 {
    padding: 0 7%;
  }

  .agenda .tab-content {
    padding: 0;
  }

  .perfiles .card {
    overflow-x: scroll;
  }

  .ingresar {
    display: block;
  }

  .ingresar .btn {
    margin-top: 10px;
  }

  .datatable-top {
    padding: 0;
    margin-bottom: 25px;
  }

  .pacientes-list .card-body .tt {
    margin-bottom: 10px;
  }
}

.agenda .dropdown-menu .card-title {
  padding: 15px 0px 10px 17px;
}

.perfiles td.acciones {
  vertical-align: middle;
  white-space: nowrap;
}

.perfiles td.acciones .acciones-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 100%;
}

.perfiles td.acciones a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7372c4;
}

.perfiles td.acciones i {
  font-size: 23px;
  line-height: 1;
}

.perfiles td.acciones img {
  display: block;
}

.editar-cert {
  margin: 10px 0 35px;
}

.generar-certificado button {
  width: 100% !important;
  margin-top: 20px !important;
}

/* Header imagen + datos */
.certificado-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.certificado-header img {
  width: 70%;
  max-width: 200px;
}

.certificado-datos {
  text-align: right;
  font-size: 14px;
  margin: 0;
}

/* Firma con línea superior */
.certificado-firma {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
  font-size: 14px;
}

#modalConfirmarCancelacion .modal-footer {
  justify-content: flex-start;
}

#modalConfirmarCancelacion .modal-title {
  color: #ed5353;
}

#finalizar .modal-body {
  text-align: center;
}

#finalizar .modal-body .btn-primary {
  width: 100%;
}

#finalizar .modal-body .btn-secondary {
  width: 100%;
}

#finalizar .modal-footer {
  justify-content: center;
}

#finalizar .modal-footer .btn-primary {
  width: 65%;
  margin-top: 10px;
}

#finalizar .btn-consulta {
  width: 100%;
  background: #b5bfff;
  opacity: 100;
  color: #fff;
  border-color: #b5bfff;
}

#finalizar .alert-dismissible {
  padding-right: 1rem;
  width: 100%;
}

#finalizar .modal-footer .alert-dismissible .btn-primary {
  width: 100%;
  margin-top: 0;
}

#btnCancelarTurno {
  width: 89%;
  margin-left: 16px;
  margin-bottom: 10px;
}

.editar-consulta {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  height: 40px;
  width: 40px;
  padding: 4px 10px;
  right: 20px;
  top: 30px;
}

@media (max-width: 768px) {
  .dk-only {
    display: none;
  }
}

.nuevo-turno-menu .btn-close {
  background-size: 50%;
  margin-right: 10px;
}

.filtros-estados {
  padding: 0 5%;
}

.especialidad .card-body .tt .btn {
  box-shadow: none;
}

@media (max-width: 768px) {
  #horariosMain .form-select {
    width: 85px;
  }

  #horariosMain>.dia-row>.horario-select {
    gap: .4rem;
  }
}

.modal-header .btn-close {
  font-size: 2rem;
}

@media (max-width: 768px) {
  .imput-btn {
    display: block !important;
  }

  #diagnosticos .card-body {
    overflow-x: auto;
  }

  #tratamientos .card-body {
    overflow-x: auto;
  }

  #estudios .card-body {
    overflow-x: auto;
  }

  .consultorios-table {
    overflow-x: auto;
  }
}

#nuevo .step .btn-form {
  border-top: solid 1px #ececec;
  padding-top: 15px;
}

@media (max-width: 768px) {
  #nuevo .btn-outline-danger {
    width: 100%;
  }

  #nuevo .dk .btn-outline-danger {
    display: none;
  }
}

.especialidad .tt .btn {
  box-shadow: none;
}

.hc-event-service {
  font-weight: 400;
}

.turno-lista {
  width: 100%;
}

.turno-acciones {
  padding-right: 10px;
}

.servicios-checkboxes {
  padding: 10px;
}

.lugares-checkboxes {
  padding: 10px;
}

.conf-inicial {
  border: solid 4px #caffbb;
  background: url(../img/hc-bg.png);
  background-size: cover;
  text-align: center;
}

.conf-inicial .card-title {
  padding: 0 0 10px;
  font-size: 1.3rem;
}

.conf-inicial .btn-form button {
  width: 240px !important;
}

.conf-inicial .btn-form {
  margin-top: 20px;
}

.conf-inicial .btn-primary {
  width: 25%;
}

.conf-inicial .card-header-config {
  border-bottom: solid 1px #6071df;
}

.conf-inicial .alert-danger {
  width: 50%;
  margin: 15px auto 0px;
}

@media (max-width: 768px) {
  .conf-inicial .alert-danger {
    width: 88%;
  }
}

.wizard-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wizard-steps {
  display: flex;
  align-items: center;
  gap: 30px;
}

.wizard-steps::before {
  content: "";
  position: absolute;
}

.wizard-steps .step {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cfd4ff;
  position: relative;
}

.wizard-steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 31px;
  height: 2px;
  background: #cfd4ff;
  transform: translateY(-50%);
}

.wizard-steps .done {
  background: #6071df;
}

.wizard-steps .done::after {
  background: #6071df;
}

.wizard-steps .save {
  background: url(../img/comprobado.png) no-repeat center;
  background-size: cover;
  background-color: #6071df;
}

.wizard-steps .save::after {
  background: #6071df;
}

.wizard-label {
  font-size: 12px;
  margin-top: 4px;
  color: #444;
}

#informacion .custom-pills::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 0;
  background: #fff;
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease-in-out;
}

#informacion .custom-pills[data-active-index="0"]::after {
  left: 6px;
  width: calc(33% - 12px);
}

#informacion .custom-pills[data-active-index="1"]::after {
  left: 35%;
  width: calc(33% - 12px);
}

#informacion .custom-pills[data-active-index="2"]::after {
  left: 70%;
  width: calc(30% - 12px);
}

#videos .card {
  margin: 0
}

#videos .card-title {
  padding: 5px 0px 10px 0px;
  text-align: center;
}

.hc-tipo-consulta {
  border: solid 1px #5e72e4;
  padding: 0 10px;
  border-radius: 7px;
  margin-top: 5px;
  height: 39px;
  display: flex;
  align-items: center;
}

.hc-tipo-consulta .hc-check-consulta {
  border-right: solid 1px #5e72e4;
  padding: 0 10px;
  margin: 0;
  height: 39px;
  display: flex;
  align-items: center;
}

.hc-tipo-consulta .hc-check-consulta:last-child {
  border-right: none;
}

.hc-tipo-consulta .form-check-label {
  padding-left: 7px
}

.hc-tipo-consulta .form-check-input {
  margin-top: 0;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .hc-header-consulta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .hc-header-consulta .hc-tipo-consulta {
    margin-top: 0;
    width: 100%;
    justify-content: center;
  }

.hc-header-consulta .card-title {
    padding: 10px 0 0 0;
  }

}

.hc-body-examen {
  padding: 25px 3%;
}

.hc-res-examen {
  border: solid 1px #5e72e4;
  margin: 10px 0;
}

.hc-res-examen .card-body {
  padding: 0 5px 5px 10px;
}

.hc-res-examen .card-body:hover {
  color: #5e72e4;
}

.hc-res-examen i {
  color: #5e72e4;
  font-size: 2rem;
}

.consulta-alert-mb {
  display: none;
}

.consulta-alert-dk {
  display: block;
}

@media (max-width: 576px) {
  .consulta-alert-mb {
  display: block;
  }

  .consulta-alert-dk {
    display: none;
  }
}
