/*//////////////////*/
/* SESSION ONLY CSS */
/*//////////////////*/

.session-body {
    background: rgb(0,76,148);
    background: linear-gradient(180deg, rgba(0,76,148,1) 0%, rgba(11,18,46,1) 100%);
    min-height: 80vh;
}

.session-upper-container {
    padding: 2vh 0;
    margin-top: 20vh;
}

.session-container {
    border-radius: 10px;
    background-color: white;
    height: 100%;
    box-shadow: 0px 4px 5px 5px #0000002e;
}

.session-form-container {
    padding: 48px 32px;
}

.session-logo-container {
    background-color: #D0D0D0;
    height: 100%;
    border-radius: 10px;
    padding: 24px;
}

.session-logo {
    height: auto;
    width: 50%;
}

/*//////////////////*/
/*     HELPERS      */
/*//////////////////*/

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* //////////// */
/* // SIDEMENU  */
/* //////////// */

#sidemenu {
    overflow: scroll;
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #004d95;
    width: 250px;
    transition: width 0.1s ease;
}
#sidemenu::-webkit-scrollbar {
  display: none;
}
#sidemenu {
  -ms-overflow-style: none;
}
#sidemenu.hidden {
    width: 38px;
}
#sidemenu.hidden .collapse {
    display: none;
}

.sidemenu-trigger {
    width: 38px;
    position: absolute;
    top: 0;
}
.sidemenu-trigger button {
    width: 100%;
    background-color: transparent;
    border: none;
    height: 50px;
    padding: 10px 5px;
}
.sidemenu-trigger button:hover {
    background-color: #0077e6 !important;
    cursor: pointer;
}

.sidemenu-container {
    width: 250px;
    height: 100%;
}

.profile-container {
    height: 125px;
    background-color: #013c76;
    text-align: center;
    color: white;
}
.profile-container .profile-image {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    background-color: #cccccc;
    border: 6px solid #004d95;
}

.menu-items {
    margin-top: 100px;
    position: relative;
    padding-bottom: 50px;
    min-height: calc(100% - 225px);
}
.menu-item {
    position: relative;
    height: 50px;
    color: white;
    padding: 10px 5px;
}
.menu-item:hover{
    background-color: #0077e6 !important;
    cursor: pointer;
}
.menu-item.active {
    background-color: #013c76;
}

.menu-item-icon {
    float: left;
    width: 26px;
    height: 26px;
    margin-right: 16px;
}
.menu-item-accesory {
    float: right;
    width: 26px;
    height: 26px;
    margin-right: 8px;
    padding: 5px;
}
.menu-item[aria-expanded="true"] .menu-item-accesory{
    transform: rotate(90deg);
}
.menu-item-title {
    float: left;
    margin-bottom: 0px;
    font-size: 15px;
    padding-top: 2px;
}
.subitem .menu-item-title {
    font-size: 14px;
}
.menu-items hr {
    border-color: #0077e6;
    margin: 0px;
}

.logout {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

/* /////////////////// */
/* // SIDEMENU-MOBILE  */
/* /////////////////// */

.sidemenu-mobile-header {
    background-color: #013c76;
    color: white;
    padding: 10px 5px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.sidemenu-mobile-trigger {
    float: left;
}
.sidemenu-mobile-trigger button {
    width: 38px;
    background-color: transparent;
    border: none;
    height: 50px;
    padding: 10px 5px;
}
.sidemenu-mobile-trigger button:hover {
    background-color: #0077e6 !important;
    cursor: pointer;
}

.profile-mobile-container{
    float: right;
}
.profile-mobile-container .profile-image {
    width: 50px;
    height: 50px;
    margin: auto;
    border-radius: 50%;
    background-color: #cccccc;
    border: 2px solid #004d95;
    float: left;
}

.profile-mobile-data {
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}

.sidemenu-mobile-container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    background-color: #004d95;
    overflow: hidden;
    height: auto;
}
.sidemenu-mobile-container.hidden {
    height: 0px;
}

/* //////////// */
/* // CONTAINER */
/* //////////// */

body {
    background-color: #f1f1f1;
}

.main-content {
    margin-left: 250px;
    max-height: 100vh;
    padding: 0px 1%;
    overflow: scroll;
    overflow-x: hidden;
    transition: margin 0.1s ease;
}
.main-content.hidden {
    margin-left: 38px;
}

.section {
    padding: 24px;
    margin: 16px 0px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 2px 4px 0px #cccccc;
}

.bg-payment{
    background-color: #f55d42;
}

.gradient {
    background: rgb(0,119,231);
    background: linear-gradient(90deg, rgba(0,119,231,1) 0%, rgb(69, 150, 194) 100%);
    color: white;
}

.breadcrumbs {
    padding: 12px 24px;
    background-color: #004d95;
    color: white;
}
.breadcrumbs a {
    color: white;
}
.breadcrumbs * {
    margin-right: 8px;
}
.breadcrumbs a.active {
    background-color: white;
    color: #0077e6;
    padding: 2px 8px;
    border-radius: 8px;
}

.section-title {
     background-color: #004d95;
    color: white;
    margin: -24px;
    margin-bottom: 24px;
    padding: 12px 24px;
}
.section-title * {
    margin-bottom: 0px;
}

.section-separator {
    display: flex;
    flex-wrap: wrap;
    margin: 0px -24px;
}
.section-separator-title {
    background-color: #f7f7f7;
    width: fit-content;
    padding: 8px 24px;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    color: #0077e6;
    z-index: 1;
    margin-left: 1%;
}
.section-separator-line {
    height: 1px;
    background-color: #e6e6e6;
    width: 100%;
    margin-top: -28px;
    z-index: 0;
}

.table th {
    background-color: #e1f0ff;
}
.table td {
    vertical-align: top;
}

.text-group {
    margin-bottom: 8px;
}
.text-group * {
    margin-bottom: 0px;
}

.notes {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    border: solid 1px #b5b5b5;
}

.hint-container {
    text-align: center;
    color: #b3b3b3;
    padding: 12px 5%;
}

.accordion-container {
    margin-bottom: 6px;
}
.accordion-title {
    color: black;
    background-color: #e1f0ff;
    padding: 8px 20px;
    border-radius: 10px;
    border: 1px solid #4c4c4c;
    position: relative;
    z-index: 2;
}
.accordion-title:hover {
    background-color: #d0e8ff;
    cursor: pointer;
}
.accordion-hidding {
    position: relative;
    padding-left: 26px;
    padding-top: 5px;
    margin-top: -14px;
    border: 1px solid #4c4c4c;
    overflow: hidden;
    border-radius: 5px;
    background-color: #fdfdfd;
}

.side-separator.right {
    border-right: 1px dashed #b3b3b3;
}
.side-separator.left {
    border-left: 1px dashed #b3b3b3;
}

.side-section-extender {
    background-color: #004d95;
    width: 10px;
    height: 100%;
    float: left;
    margin-right: 20px;
    margin-left: 0px;
    position: absolute;
}
.section-extended {
    margin-left: 40px;
}
.side-section-extender.nested {
    background-color: #157ad8;
}

.extension-indicator {
    background-color: #004d95;
    height: 10px;
    position: absolute;
    width: 30px;
    left: -34px;
    top: 8px;
}
.extension-indicator.nested {
    background-color: #157ad8;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #cccccc;
    border: 6px solid #004d95;
    background-size: cover;
    background-position: center;
}
.profile-image.video {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#profile_image_container button {
    width: 150px;
    margin: 5px 0px;
}
#profile_image_preview_container button, #profile_image_new button {
    width: 150px;
    margin: 5px 50px;
}

.highlight {
    background-color: #e1f0ff;
}

.modal-huge {
    max-width: 90%;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
}

.guard_unassign {
    float: right;
}

/* //////////////// */
/* //  GOOGLE MAPS  */
/* //////////////// */

.google-map {
    width: 100%;
    height: 500px;
}
.google-map h1 {
    text-align: center;
    font-size: 16px;
}
.guard-information {
    text-align: center;
}

/* //////////// */
/* //  INPUT    */
/* //////////// */

input, textarea {
    background-color: #fdfdfd !important;
}

.primary-button {
    color: white;
    background-color: #004d95;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color .25s;
    border: none;
}
.primary-button:hover {
    background-color: #013c76;
    color: white;
    text-decoration: none;
}
.primary-button.cancel {
    background-color: white;
    border: 1px solid red;
    color: red;
}
.primary-button.cancel:hover {
    background-color: #fff5f5;
}
.primary-button.alt {
    background-color: #f2f2f2;
    border: 1px solid #4c4c4c;
    color: #4c4c4c;
}
.primary-button.alt:hover {
    background-color: #e2e2e2;
}

.input-group .btn.dropdown-toggle {
    height: 38px;
    border: solid 1px #ced4da;
    padding: 3px 10px;
}

.input-group .primary-button {
    z-index: 1;
    padding: 5px 20px;
    border-radius: 6px;
}

.corner-checkbox {
    position: absolute;
    right: 25px;
    top: 2px;
}

.is-error {
    color: red;
}

.is-success {
    color: #28a745;
}

audio {
    margin: 0 auto; 
    display: block;
}

/*//////////////////*/
/*     INCIDENTS    */
/*//////////////////*/

.alert-container {
    position: absolute;
    bottom: 0;
    right: 8px;
    max-height: 100vh;
    width: 300px;
}

.incident-alert {
    width: 100%;
    margin-top: 8px;
    background-color: white;
    box-shadow: #0000001a 0px -2px 6px 6px;
    border-radius: 10px;
    overflow: hidden;

    animation: animateElement linear .3s;
    animation-iteration-count: 1;
}

.incident-alert .title {
    background-color: #013c76;
    color: white;
    padding: 8px;
    width: 100%;
}

.incident-alert .content {
    padding: 0px 24px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.incident-alert .main-button {
    margin: 8px 24px;
    float: right;
}

@keyframes animateElement{
  0% {
    opacity:0;
    transform:  translate(0px,10px);
  }
  100% {
    opacity:1;
    transform:  translate(0px,0px);
  }
}

.payment_alert {
    margin-left: 280px;
}

/*//////////////////*/
/*   MEDIA QUERY    */
/*//////////////////*/

@media (min-width: 551px) { 
    #sidemenu-mobile {
        display: none;
    }
}

@media (max-width: 550px) {
    #sidemenu {
        display: none;
    }
    .main-content {
        margin-left: 0px !important;
        padding: 0px;
        padding-top: 75px;
    }
    .payment_alert {
        margin-left: 10px !important;
        margin-right: 10px !important;
        padding-top: 75px;
        margin-bottom: -90px;
        position: relative;
        z-index: 9999;
    }
}

@media (max-width: 425px) {
    .session-upper-container {
        margin-top: 5vh;
    }
    .container-fluid {
        padding-right: 5px;
        padding-left: 5px;
    }
    .section {
        padding-right: 5px;
        padding-left: 5px;
    }
    .section-title {
        margin-right: -5px;
        margin-left: -5px;
    }
}

/*//////////////////////////////////*/
/*   SVG Gesture Icons Animated     */
/*   for Revisions Performed Map    */
/*//////////////////////////////////*/

.svg-cursor {
    display: inline-block;
    width: 50px;
    box-sizing: none;
}

/* SVG RULES */

.hand-tap  {
    fill: #fff;
    stroke: #000;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tap-1{
    fill: transparent;
    stroke: #000;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}
 
.tap-1 {
    opacity: .5;
}


/* ANIMATION KEYFRAMES */

@keyframes tap {
    0% {
        transform: rotateX(0deg);
    }
    10% {
        transform: rotateX(12.5deg);
    }
    25% {
        transform: rotateX(25deg);
    }
}
/* SVG ANIMATION */

.wrapper {
    transform-origin: 50% 50%;
    perspective: 50px;
}

.hand-tap {
    animation: tap 1.25s ease-out backwards;
    animation-iteration-count:infinite;
}

.tap-1 {
    animation: tap-circle 1.25s ease-out backwards;
    animation-iteration-count:infinite;
}
/* HTML marker styles */
.price-tag {
  background-color: #4285F4;
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 14px;
  padding: 10px 15px;
  position: relative;
}

.price-tag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #4285F4;
}

[class$=api-load-alpha-banner] {
  display: none;
}

/*Agregado 25 Mar 2026*/
.patrol-card {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.patrol-icon {
    font-size: 22px;
    color: #1f4e8c;
    margin-bottom: 8px;
}

.patrol-card label {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}

.patrol-card h4 {
    margin: 0;
    font-weight: 600;
}

.station-block {
    margin-bottom: 20px;
}

.station-header {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.checklist-item {
    padding: 6px 0;
}

.checklist-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.checklist-line .left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checklist-name {
    font-weight: 400;
}

.checklist-line .right {
    font-size: 13px;
    color: #6c757d;
}

.time {
    white-space: nowrap;
}

.media-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-left: 22px;
}

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.thumb.video,
.thumb.audio {
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb.video i,
.thumb.audio i {
    font-size: 18px;
    color: #495057;
}

.incident-dot {
    color: #dc3545;
    font-size: 10px;
    margin-left: 5px;
}

.google-map {
    height: 420px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#path_map {
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.thumbnail-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
}

.thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.thumbnail-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f1f3f5;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 18px;
}

.media-warning {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
}

.tech-section {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.tech-header {
    background: #f5f2e8;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tech-header:hover {
    background: #efe9d8;
}

.tech-icon {
    margin-right: 8px;
}

.tech-toggle {
    font-size: 12px;
}

.tech-content {
    display: none;
    background: #ffffff;
    padding: 15px;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
    font-size: 14px;
}

.media-warning {
    background: #fff3cd;
    color: #856404;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
}

.warning-icon {
    margin-right: 5px;
}

.media-info {
    color: #6c757d;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

/* 🔥 Jerarquía */
.title-main {
    font-size: 22px;
    font-weight: 700;
    color: #1f2d3d;
}

.title-secondary {
    font-size: 20px;
    font-weight: 600;
}

.text-strong {
    font-size: 16px;
    font-weight: 500;
}

.text-strong-sm {
    font-size: 14px;
    font-weight: 500;
}

.label-sm {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-muted {
    font-size: 14px;
    color: #6c757d;
}

.text-muted-light {
    font-size: 12px;
    color: #9aa0a6;
}

/* 🔥 Cards */
.card-clean {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

/* 🔥 Imagen */
.profile-image-sm {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 10px;
}

/* 🔥 Grid técnico */
.tech-grid {
    display: grid;
    gap: 12px;
}

#timeline-range {
    height: 6px;
    background: #ddd;
    border-radius: 5px;
}

.ui-slider-range {
    background: #2f80ed;
}

.ui-slider-handle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2f80ed;
    border: none;
    top: -5px;
}

.thumbnail-wrapper {
    width: 70px;
    height: 70px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f2f2;
}

.thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 18px;
}

.badge.bg-success {
    background-color: #198754; /* verde bootstrap */
    color: #ffffff;
    font-weight: 500;
}

.badge.bg-danger {
    color: #ffffff;
    font-weight: 500;
}

.badge.bg-warning {    
    color: #ffffff;
    font-weight: 500;
}

.badge.bg-secondary {
    color: #ffffff;
    font-weight: 500;
}
