.contrato-section-full {
    min-height: calc(100vh - 120px); 
    display: flex;
    justify-content: center; 
    align-items: flex-start; /* Comienza desde arriba */
    padding-top: 50px; 
    padding-bottom: 50px; 
}

/* Contenedor del formulario más compacto */
.contrato-form-container {
    width: 100%;
    max-width: 700px; 
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Resto de estilos como antes */
.contrato-form-group {
    margin-bottom: 20px;
}

.contrato-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contrato-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

textarea.contrato-form-control {
    resize: vertical;
}

.contrato-section-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #1a1a1a;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

.contrato-button {
    padding: 12px 25px;
    background-color: #007bff;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contrato-button:hover {
    background-color: #0056b3;
}

.modal-contrato {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 400px;
    max-width: 90%;
    padding: 20px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.modal-contrato form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-contrato label {
    font-weight: bold;
    margin-bottom: 5px;
}

.modal-contrato input[type="text"],
.modal-contrato textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    resize: vertical;
}

.modal-contrato textarea {
    min-height: 80px;
}

.modal-contrato button[type="submit"] {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-contrato button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Botón de cerrar */
#cerrarModal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

#cerrarModal:hover {
    color: #000;
}

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 999;
}
