/* Import Google font - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
    --color-primary: rgb(23, 57, 107);
    /* Azul */
    --color-secondary: rgb(140, 166, 196);

    /* Gris */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

}

body {
    min-height: 100vh;

    padding: 20px;
    background: var(--color-primary);
}

.container {
    position: relative;
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.container header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.container .form {
    margin-top: 30px;
}

.intro-pqr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-pqr p {
    color: white;
    max-width: 800px;
    margin: 1rem;
    text-align: center;

}

.form .input-box {
    width: 100%;
    margin-top: 20px;
}

.tr-bg {
    background-color: var(--color-secondary);
}

.input-box label {
    color: #333;
}

.form :where(.input-box input, .select-box) {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

.input-box input:focus {
    box-shadow: 0 5px 0 var(--color-primary);
}

.form .column {
    display: flex;
    column-gap: 15px;
}

.form .gender-box {
    margin-top: 20px;
}

.gender-box h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.form :where(.gender-option, .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

.form .gender {
    column-gap: 5px;
}

.gender input {
    accent-color: rgb(--color-primary);
}

.form :where(.gender input, .gender label) {
    cursor: pointer;
}

.gender label {
    color: #707070;
}

.address :where(input, .select-box) {
    margin-top: 15px;
}

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
    background-color: white;
}

.form button {
    height: 55px;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;

    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--color-primary);
}

.form button:hover {
    background: var(--color-secondary);
}

.textar {
    position: relative;
    height: 100px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

/*Responsive*/
@media screen and (max-width: 500px) {
    .form .column {
        flex-wrap: wrap;
    }

    .form :where(.gender-option, .gender) {
        row-gap: 15px;
    }
}

table {
    width: 70%;
    border-collapse: collapse;
    margin: 20px auto;
}

th,
td {
    border: none;
    padding: 10px;
    text-align: center;
    width: 50%;
}

th {
    background-color: #f2f2f2;
}

.cbox-t {
    width: 25px;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}


.hh {
    background-color: #3333336e;
    max-width: 1200px;
    padding: 2rem;
    margin-top: 5rem;


}

.textcenter {
    text-align: center;
    color: white;
}

h2 {
    font-size: 18px;
}




.head-a {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.color-picker {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    border: 0.1px solid #6b6b6b;
    border-bottom: none;
    max-width: 300px;
    padding: 0.2rem;
    border-radius: 0.5rem;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: var(--color-secondary);
}

.color-btn {
    width: 20px;
    height: 20px;
    border: none;
    margin: 0 10px;
    cursor: pointer;
}

/* Cambia el color de fondo del botón seleccionado */
.color-btn.active {
    border: 2px solid white;
}

.box-solicitante {
    padding: 1rem;
    background-color: var(--color-secondary);
    border-radius: 5px;
}

.logo {
    max-width: 300px;
}

.logo img {
    width: 100%;
    display: block;
}

#adjuntarArchivo {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

#adjuntarArchivo:hover {
    border: 2px dashed #555;
}

.miniatura-archivo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.miniatura-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

.file-list {
    margin-top: 10px;
}

.file-list ul {
    list-style: none;
    padding: 0;
}

.file-list li {
    margin: 5px 0;
}


#modalExito {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.808);
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%;
    background-color: #f2f2f2;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    padding: 20px;
}

/* Estilos para el mensaje y el botón */
.modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btnIrPagina {

    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    border: none;
}

.btnIrPagina:hover {
    background-color: #0056b3;
}


.estado-archivo {
    display: block;
    margin-bottom: 5px;
    color: green;
    font-size: 16px;
}

#adjuntar-archivos-container {
    margin: 0;
}

.input-adjuntar-a {

    color: rgb(51, 51, 51);
    border: 2px dashed #c2c2c2;
    padding: 0.8rem;
}

.input-adjuntar-a:hover {
    border: 2px dashed #7c7c7c; 
}



#adjuntar-archivos-container button {

    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 0.5rem;
    margin-bottom: 2rem;


}