html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fff;


}

/* Aseguramos que el body ocupe toda la altura de la ventana */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.table .detalle {
    white-space: normal !important;
    word-break: break-word;
}

.footer {
    text-align: center;
    padding: 12px;
    background: #f8f8f8;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-label {
    font-weight: 600 !important;
}
th:nth-child(2), th:nth-child(3), th:nth-child(4) {
    text-align: center;
    text-align: center;
}
td:nth-child(2), td:nth-child(3), td:nth-child(4) {
    text-align: center;
    white-space: nowrap;
}



.nav-tabs .nav-link {
    color: #6c757d;
    background-color: #f7f7f7;
}

.nav-tabs .nav-link:hover {
    color: #343a40;
    background-color: #f7f7f7;
}

.nav-tabs .nav-link.active {
    color: #000000;
    background-color: #ffffff;
    border-color: #dee2e6 #dee2e6 #ffffff;
     font-weight: 600;
}


.pagination {
    justify-content: center !important;
    margin: 2rem 0;
}

.pagination .page-link:focus {
    outline: none;
    box-shadow: none;
}


.pagination .page-item .page-link {
    background-color: #ffffff;
    color: #3a1f00;
    border: 1px solid #3a1f00;
    margin: 0 3px;
    padding: 2px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.pagination .page-item .page-link:hover {
    background-color: #3a1f00;
    color: white;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background-color: #3a1f00;
    color: white;
    font-weight: bold;
    cursor: default;
    pointer-events: none;

}

.center-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.impactosdg.com/archivos/Panaderia/patron.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

header {
    background-color: #f8f9fa;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    /* Asegura que el header quede sobre el iframe */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.iframe-container {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}


iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.1), 0px 2px 24px rgba(0, 0, 0, 0.08);
}

.login-title {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 15px;
}

.btn-marron {
    background-color: #442404;
    color: white;
}

.btn-marron:hover {
    background-color: #442404c8;
    color: white;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #4424043b;

}

.btn {
    font-weight: 600;
}

.btn-custom {
    width: 100%;
    margin-top: 20px;
    background-color: #442404;
    color: white;
}

.btn-custom:hover {
    background-color: #442404c8;
    color: white;
}

.btn-custom-menu {
    width: 90%;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #442404;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.15);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
}

.btn-custom-menu:hover {
    background-color: #442404c8;
    color: white;
}

.btn-logout {
    background-color: #442404;
    color: white;
}

.btn-logout:hover {
    background-color: #442404c8;
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #442404;
    font-weight: bold;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
}

.social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-right: calc(-1* var(--spacing-2x));
}

.login-google {
    background-color: white;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-family: "Roboto", arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    align-items: center;
    font-weight: 500;
    margin-top: 15px;
}

.login-google a {
    border: none !important;
}

.login-google a:focus {
    outline: none;
}

.logo-login {
    text-align: center;
}

.logo-login img {
    width: 6rem;
    ;
}

.icon-google {
    height: 18px;
    margin-right: 8px;
    min-width: 18px;
    width: 18px;
}

.login-divider {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: calc(2* 8px) 0;
    color: #8c8f96;
    text-align: center;
    font-size: 13px;
    line-height: 20px;
}

.login-divider span:first-child,
.login-divider span:last-child {
    display: block;
    flex: 1;
    height: 1px;
    background: #E9EAEC;
}

.login-divider .o {
    padding: 8px;
}

.anulaciones form {
    display: flex;
    align-items: end;
}


/* alerta */
#alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#alert-modal .alert-box {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-weight: 500;
    max-width: 320px;
    color: #333;
    font-size: 16px;
}

#alert-modal .alert-box button {
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #442404;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#alert-modal .alert-box button:hover {
    background-color: #552f09;
}

@media (max-width: 768px) {

    .h1,
    h1 {
        font-size: 1.5rem;
    }

    .btn-logout {
        font-size: 0.7rem;
    }

    .btn-custom-menu {
        font-size: 1.2rem;
        height: 80px;
    }

}