@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');



body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.visor-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}

.form-section {
    height: fit-content;
    background-color: white;
    border-bottom: 1px solid #999;
}   

.form-section form {
    width: 100%;
}

.form-group {
    flex: 0 1 300px;
    text-align: center;
    margin-top: 31px;
}

.form-group label {
    font-size: 18px !important;
    font-weight: 500;
    color: #333 !important;
    line-height: 18px;
    font-family: "Open Sans", sans-serif;
    margin-bottom: 12px;
}

.form-group select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    background-color: white;
    font-size: 14px;
}



.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* Hover effect for select */
.form-group select:hover {
    color: #333333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 16px !important;
    font-family: 'Open Sans', sans-serif;
/*    font-family: 'Nunito Sans';
    font-weight: 800 !important;*/
}

.selectores-territorio {
    display: flex; flex-direction: row;
}

.seleccion-territorio {
    font-weight: 400 !important; margin-right: 24px;
    font-family: 'Open Sans', sans-serif;
}


.pdf-section {
    padding: 20px;
    background-color: #fff;
}


.pdf-section-loaded {
    padding: 20px;
    background-color: #fff;
    width: 100%;
    height: 100vh; /* Full viewport height */
}

.pdf-section-loaded embed,
.pdf-section-loaded object,
.pdf-section-loaded iframe {
    width: 100%;
    height: 100%;
}

select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Open Sans", sans-serif !important;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;;
}

.iframe-pdf-viewer {
    width: 100%;
    height: 100%;
}

.logo-dane {
/*    flex-shrink: 0;*/
    display: flex;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.logo-dane img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-dane:hover {
    transform: scale(1.05);
}


.button-group {
    text-align: center;
    font-family: "Open Sans", sans-serif !important;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    user-select: none;
}

.btn-primary { color: #ffffff; background-color: #cd004c !important; padding: 10px 16px !important; border-radius: 32px !important; text-decoration: none; transition: .2s; margin-top:60px !important; border: none !important}

.btn-primary:hover { color: #ffffff; background-color: #79032f !important; }
.btn-primary:focus {border: 1.5px solid var(---000000); border: 2px solid #000000; border-radius: 25px; opacity: 1;}

.btn i {
    font-size: 16px;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    background-color: #C8C8C8 !important;
    pointer-events: none;
    border: none !important;
    color: #fff !important;
}




/**************
 * Responsive *
 **************/

@media only screen and (min-width: 992px) {
  /* styles here will be applied when the screen width is 768px or less */
      .btn-primary {margin-top: 60px !important;}

}

@media only screen and (max-width: 991px) {
  /* styles here will be applied when the screen width is 768px or less */
  .btn-primary {margin-top: 36px !important;}
}

@media only screen and (max-width: 768px) {
  /* styles here will be applied when the screen width is 768px or less */
  .btn-primary {margin-top: 20px !important;}
    .form-group { margin-bottom: 0 !important; margin-top: 20px !important; }
}

/* Extra small devices (phones, less than 576px) */
@media only screen and (max-width: 575.98px) { 
  /* Estilos para dispositivos extra pequeños */
    .btn-primary {margin-top: 20px !important;}
    .form-group { margin-bottom: 0 !important; margin-top: 20px !important; }
}






/****************
 * Page Loading *
 ****************/
.loading {
    display: flex;
    text-align: center;
    padding: 20px;
    justify-content: center;
    height: 100%;
    font-size: 1.2em;
    color: #666;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/*************
 * Messages **
 *************/

.error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ff0000;
    font-size: 1.2em;
}

.warn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #909050;
    font-size: 1.2em;
}



