﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

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

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.representacion-grafica {
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.quickgrid {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

.quickgrid th,
.quickgrid td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.75rem;
    vertical-align: middle;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

#divUserTable .quickgrid th:nth-child(1),
#divUserTable .quickgrid td:nth-child(1) {
    min-width: 120px;
    max-width: 150px;
}

#divUserTable .quickgrid th:nth-child(2),
#divUserTable .quickgrid td:nth-child(2) {
    min-width: 120px;
    max-width: 150px;
}

#divUserTable .quickgrid th:nth-child(3),
#divUserTable .quickgrid td:nth-child(3) {
    min-width: 130px;
    max-width: 130px;
}

#divUserTable .quickgrid th:nth-child(4),
#divUserTable .quickgrid td:nth-child(4) {
    min-width: 180px;
    max-width: 250px;
}

#divUserTable .quickgrid th:nth-child(5),
#divUserTable .quickgrid td:nth-child(5) {
    min-width: 150px;
    max-width: 180px;
    text-align: center;
}

#divUserTable .quickgrid th:nth-child(6),
#divUserTable .quickgrid td:nth-child(6) {
    min-width: 100px;
    width: 100px;
    text-align: center;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .quickgrid th,
    .quickgrid td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    #divUserTable .quickgrid th:nth-child(4),
    #divUserTable .quickgrid td:nth-child(4) {
        min-width: 150px;
    }
}

.quickgrid thead th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    border-bottom: 2px solid #dee2e6;
}

.quickgrid td button {
    white-space: nowrap;
}

.quickgrid tbody tr:hover {
    background-color: #f8f9fa;
}

.quickgrid tbody tr {
    transition: background-color 0.2s ease;
}

/* Estilos para configuracion del qr */

.qr-setup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem 1rem;
}

.qr-setup-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 550px;
    position: relative;
}

.qr-home-button {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.qr-home-button .btn-link {
    color: #666;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.qr-home-button .btn-link:hover {
    color: #1b6ec2;
}

.qr-setup-title {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.85rem;
    font-weight: 600;
    text-align: center;
}

.qr-setup-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

.qr-display-area {
    text-align: center;
    margin-bottom: 2rem;
}

.qr-image {
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 280px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qr-secret-box {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.qr-secret-label {
    color: #666;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.qr-secret-code {
    font-size: 1rem;
    color: #0066cc;
    word-break: break-all;
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    display: inline-block;
    font-family: 'Courier New', monospace;
    border: 1px solid #d0e7ff;
}

.otp-verify {
    margin-top: 2rem;
}

.qr-input-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
}

.qr-code-input {
    font-size: 1.2rem;
    padding: 0.85rem;
    text-align: center;
    letter-spacing: 0.4rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

.qr-code-input:focus {
    border-color: #1b6ec2;
    box-shadow: 0 0 0 0.2rem rgba(27, 110, 194, 0.25);
    outline: none;
}

.qr-verify-btn {
    padding: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
    border-radius: 8px;
    font-size: 1rem;
}

.qr-alert {
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

@media (max-width: 576px) {
    .qr-setup-card {
        padding: 2rem 1.5rem;
    }
    
    .qr-setup-title {
        font-size: 1.5rem;
    }
    
    .qr-image {
        width: 240px;
    }
    
    .qr-secret-code {
        font-size: 0.9rem;
    }
    
    .qr-code-input {
        font-size: 1.1rem;
        letter-spacing: 0.3rem;
    }
}
