@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
    background-color: #164284;
    color: white;
    font-family: Arial, sans-serif;
}

html {
    font-size: 14px;
    min-height: 100%;
    position: relative;
}

html, body {
    height: 100%;
    overflow: hidden !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-primary {
    background-color: #164284 !important;
    border-color: #164284 !important;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: #164284 !important;
    border-color: #164284 !important;
    color: #FFFFFF !important;
}

.btn-danger {
    background-color: #C00000 !important;
    border-color: #C00000 !important;
    color: #FFFFFF !important;
}

.btn-danger:hover {
    background-color: #C00000 !important;
    border-color: #C00000 !important;
    color: #FFFFFF !important;
}

.btn-secondary {
    background-color: #E8E8E8 !important;
    border-color: #E8E8E8 !important;
    color: #000000 !important;
}

.btn-secondary:hover {
    background-color: #E8E8E8 !important;
    border-color: #E8E8E8 !important;
    color: #000000 !important;
}

.btn-clear {
    background-color: #FDFDFD !important;
    border-color: #212529 !important;
    color: #212529 !important;
}

.btn-clear:hover {
    background-color: #FDFDFD !important;
    border-color: #212529 !important;
    color: #212529 !important;
}

.btn-validate {
    background-color: #FDFDFD !important;
    border-color: #212529 !important;
    color: #212529 !important;
}

.btn-validate:hover {
    background-color: #FDFDFD !important;
    border-color: #212529 !important;
    color: #212529 !important;
}

.caption-e-color {
    background-color: #E20000;
}

.caption-i-color {
    background-color: #164284;
}

.caption-w-color {
    background-color: #DAA520;
}

#viewWarn .modal-content {
    width: 300px;
}

#viewWarn .modal-dialog {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#viewErr .modal-content {
    width: 300px;
}

#viewErr .modal-dialog {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Font Sizes */

.f-size-10 {
    font-size: 10px;
}

.f-size-11 {
    font-size: 11px;
}

.f-size-12 {
    font-size: 12px;
}

.f-size-13 {
    font-size: 13px;
}

.f-size-14 {
    font-size: 14px;
}

.f-size-15 {
    font-size: 15px;
}

.f-size-16 {
    font-size: 16px;
}

.f-size-17 {
    font-size: 17px;
}

.f-size-18 {
    font-size: 18px;
}

.f-size-19 {
    font-size: 19px;
}

.f-size-20 {
    font-size: 20px;
}

.f-size-21 {
    font-size: 21px;
}

.f-size-22 {
    font-size: 22px;
}

.f-size-23 {
    font-size: 23px;
}

.f-size-24 {
    font-size: 24px;
}

.f-size-25 {
    font-size: 25px;
}

.f-size-26 {
    font-size: 26px;
}

.f-size-27 {
    font-size: 27px;
}

.f-size-28 {
    font-size: 28px;
}

.f-size-29 {
    font-size: 29px;
}

.f-size-30 {
    font-size: 30px;
}

.height-038 {
    height: 38px;
}

.width-075 {
    width:  75px;
}

.width-100 {
    width: 100px;
}

.width-120 {
    width: 120px;
}

.width-240 {
    width: 240px;
}

/* Layout */

#top_center_logo {
    margin-top: 20px;
}

#soterkey_logo {
    height: 160px;
    width: 160px;
}

/* Main Page */

#PhoneId {
    font-size: 14px;
    height: 35px;
    width: 240px;
}

#PhoneModel {
    font-size: 14px;
    height: 35px;
    width: 240px;
}

.btn-soterkey {
    background-color: #D1D1D1;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    display: block;
    font-weight: bold;
    height: 40px;
    margin: 20px auto;
}

.center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.countdown-grid {
    color: #FFCC66;
    display: grid;
    font-size: 15px;
    grid-template-columns: 200px 50px 150px;
    justify-content: center;
    margin-top: 20px;
    text-align: center;
}

#Digit1 {
    background-color: transparent;
    font-size: 15px;
    text-align: center;
}

#Digit2 {
    background-color: transparent;
    font-size: 15px;
    text-align: center;
}

#Digit3 {
    background-color: transparent;
    font-size: 15px;
    text-align: center;
}

#Digit4 {
    background-color: transparent;
    font-size: 15px;
    text-align: center;
}

#Digit5 {
    background-color: transparent;
    font-size: 15px;
    text-align: center;
}

#Digit6 {
    background-color: transparent;
    font-size: 15px;
    text-align: center;
}

#MsgBefore {
    font-size: 15px;
    justify-self: end;
}

#contador {
    font-size: 15px;
    font-weight: bold;
    justify-self: center;
}

#MsgAfter {
    justify-self: start;
}

#codeExpired {
    display: none;
}

.resend {
    color: #D32F2F;
    cursor: pointer;
    margin-top: -30px;
    text-align: center;
    text-decoration: underline;
}

.rounded-box {
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    padding: 10px;
}

.six-code-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.six-code-box {
    align-items: center;
    background-color: white;
    border: 2px solid #FFFFFF;
    border-radius: 10px;
    display: flex;
    height: 50px;
    justify-content: center;
    width: 45px;
}

.six-code-box input {
    border: none;
    font-size: 18px;
    font-weight: bold;
    height: 40px;
    text-align: center;
    outline: none;
    width: 20px;
}

/* */

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.f-audiowide {
    font-family: Audiowide;
}

.size-13 {
    font-size: 13px;
    margin-bottom: 60px;
}

.banner-gray {
    background-color: #E3E3E3;
    height: 35px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-weight: bold;
}

.banner-warning {
    background-color: #FFCC66;
    height: 35px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-weight: bold;
}

.btn-back {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* círculo */
    background-color: #f0f0f0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-back i {
    font-size: 18px;
    color: #333;
}

.btn-cancel {
    background-color: #C00000;
    color: white;
}

.btn-download-doc {
    background-color: #28A745;
    color: white;
}

.btn-download-ug-container {
    background-color: #E8E8E8;
    border-radius: 14px;
    height: 32px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.btn-download-ug {
    background-color: #164284;
    color: white;
    border-radius: 7px;
    height: 30px;
    width: 105px;
    border: none;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.btn-hide {
    background-color: #164284;
    color: white;
}

.btn-share {
    background-color: #E7E0EC;
    color: black;
}

.btn-small {
    width: 80px;
    height: 32px;
    border-radius: 14px;
    border: none;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.caption {
    background-color: #164284;
    padding: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    height: 200px;
}

.caption button {
    background-color: #3578C8;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.filter-box {
    display: grid;
    grid-template-columns: auto 50px;
    margin: 10px;
    align-items: center;
}

.filter-box input {
    border: 1px solid #164284;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    font-weight: bold;
    color: #164284;
}

.guide-card {
    background: linear-gradient(#164284, #3578C8);
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    color: white;
}

.guide-grid {
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 10px;
    margin-top: 10px;
}

.header {
    background-color: #164284;
    display: grid;
    grid-template-columns: 70px auto;
    height: 55px;
    align-items: center;
    padding-left: 0px;
    color: white;
}

.header img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.pin-box-con {
    background-color: white;
    border: 1px solid black;
    border-radius: 2px;
    width: 150px;
    height: 50px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pin-box-con input {
    width: 140px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #164284;
    outline: none;
}

.pin-container-con {
    margin: 25px auto 0 auto;
    width: 290px;
    text-align: center;
}

.pin-box-set {
    background-color: LightGray;
    border: 1px solid black;
    border-radius: 2px;
    width: 150px;
    height: 35px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.pin-box-set input {
    width: 140px;
    height: 30px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    color: #164284;
    outline: none;
}

.pin-show-set {
    margin-left: -165px;
    cursor: pointer;
    width: 30px;
}

.progress {
    background-color: #CCCCCC;
    height: 24px;
    padding: 0px;
    margin: 10px;
    position: relative;
}

.progress-style {
    background-color: #164284;
    height: 30px;
    width: 0%;
    transition: width 1.00s ease;
}

.search-button {
    background-color: #164284;
    border: 1px solid #c0c0c0;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    height: 32px;
    width: 95px;
}

.status-box {
    background-color: #C00000;
    border: 2px solid white;
    border-radius: 4px;
    width: 280px;
    height: 75px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 5px;
}

.summary-card {
    background: linear-gradient(#164284, #3578C8);
    border-radius: 12px;
    padding: 15px;
    margin: 10px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.25);
    color: white;
}

.summary-grid {
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 6px;
    margin-top: 10px;
}

.visitor-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.visitor-card {
    border: 1px solid black;
    border-radius: 6px;
    padding: 10px;
    margin: 5px 0;
    background-color: transparent;
}

.visitor-grid {
    display: grid;
    grid-template-columns: 85px 85px auto;
    row-gap: 6px;
}

#btnMenu {
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding-right: 15px;
}

#caption {
    background-color: #FFFFFF;
    padding-left: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    height: 200px;
    font-weight: bold;
}

#imgSearchButton {
    height: 14px;
    vertical-align: middle;
}

#imgSearchFilter {
    cursor: pointer;
    height: 20px;
    margin-left: 10px;
    width: 20px;
}

#TitlePage {
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    margin-right: auto;
    padding-left: 8px;
    padding-top: 3px;
}

#divButton {
    padding-top: 10px;
}

#VisitorsList {
    margin: 10px;
}

#Form {
    overflow: hidden !important;
    height: 100vh; /* evita scroll vertical */
    position: relative; /* necesario para el sticky del header */
}

#FixedHeader {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: white;
}

#VisitorsList {
    height: calc(100vh - 380px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 20px;
}