/* Estilos para el formulario del frontend */
.cotizador-contable-form-wrapper {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    //font-family: Arial, sans-serif;
}

.cotizador-contable-form fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
    background-color: #f9f9f9;
}

.cotizador-contable-form legend {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    padding: 0 10px;
    margin-left: -10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.cotizador-contable-form p {
    margin-bottom: 15px;
}

.cotizador-contable-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    color: #555;
}

.cotizador-contable-form input[type="text"],
.cotizador-contable-form input[type="email"],
.cotizador-contable-form input[type="tel"],
.cotizador-contable-form input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
    font-size: 1em;
}

.linea-gris {
  height: 1px; /* Grosor de la línea */
  background-color: #cecece; /* Color gris claro */
  /*border: none; /* Elimina el borde predeterminado */
}


.cotizador-contable-form input[type="radio"],
.cotizador-contable-form input[type="checkbox"] {
    margin-right: 8px;
}

.cotizador-contable-form label.radio-label,
.cotizador-contable-form label.checkbox-label {
    display: inline-block;
    font-weight: normal;
    margin-right: 15px;
}

.cotizador-contable-form .required {
    color: red;
    font-weight: normal;
}

.cotizador-contable-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px 20px;
    
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cotizador-contable-form button[type="submit"]:hover {
    background-color: #005177;
}

.cotizador-contable-message {
    padding: 20px;
    background-color: #ffe0aa; /* amarillo claro */
    border: 1px solid #4CAF50;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    color: #333;
}
.cotizador-contable-message h2 {
    color: #4CAF50;
    margin-top: 0;
}


/* Estilos para el panel de administración */
.wrap h1 {
    border-bottom: 1px solid #c3c4c7;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cotizacion-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    min-width: 70px;
    text-align: center;
}

.cotizacion-status-changer {
    margin-left: 10px;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.status-nueva { background-color: #0073aa; } /* Blue */
.status-en_proceso { background-color: #ffb800; } /* Orange */
.status-enviada { background-color: #4CAF50; } /* Green */

.button.button-danger {
    background-color: #dc3232;
    color: #fff;
    border-color: #dc3232;
}

.button.button-danger:hover {
    background-color: #cc1818;
    border-color: #cc1818;
}

/* Para el detalle de la cotización */
.form-table th {
    width: 250px;
}
.form-table td {
    font-weight: bold;
}
.wrap .title {
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Mensajes de AJAX en admin */
#cotizador-admin-messages .notice {
    margin-top: 20px;
}