﻿/* ========================================
   🎨 ESTILOS GENERALES
======================================== */
body {
    background-color: #D6C8BA;
    font-family: 'Cutive Mono', monospace;
}

/* Títulos */
h1 {
    color: #334B64;
    font-weight: bold;
}

h4 {
    color: #7D5D3F;
}

/* Línea divisora */
hr {
    border-top: 2px solid #B8CDE4;
}

/* ========================================
   📦 CONTENEDORES / CARDS
======================================== */
.container-custom {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-custom {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: auto;
}

/* ========================================
   📝 FORMULARIOS
======================================== */
label {
    color: #334B64;
    font-weight: bold;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #9C9287;
}

    .form-control:focus {
        border-color: #334B64;
        box-shadow: 0 0 5px rgba(51, 75, 100, 0.5);
    }

/* Mensajes de error */
.text-danger {
    font-size: 0.9rem;
}

/* ========================================
   🔘 BOTONES
======================================== */
.btn-custom {
    background-color: #334B64;
    color: white;
    border-radius: 8px;
}

    .btn-custom:hover {
        background-color: #7D5D3F;
        color: white;
    }

/* Botón guardar */
.btn-save {
    background-color: #334B64;
    color: white;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    border: none;
}

    .btn-save:hover {
        background-color: #7D5D3F;
    }

/* Botón volver / cancelar */
.btn-back {
    background-color: #9C9287;
    color: white;
    border-radius: 8px;
    padding: 10px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 10px;
}

    .btn-back:hover {
        background-color: #7D5D3F;
        color: white;
    }

/* Botón eliminar */
.btn-delete {
    background-color: #7D5D3F;
    color: white;
    border-radius: 8px;
    padding: 10px;
    border: none;
}

    .btn-delete:hover {
        background-color: #334B64;
    }

/* ========================================
   🔗 ACCIONES (links en tablas)
======================================== */
.edit {
    color: #334B64;
}

.details {
    color: #9C9287;
}

.delete {
    color: #7D5D3F;
}

/* ========================================
   📄 DETALLES / TEXTO
======================================== */
.detalle-label {
    font-weight: bold;
    color: #334B64;
}

.detalle-value {
    color: #9C9287;
}

/* Mensajes de advertencia */
.warning {
    color: #7D5D3F;
    font-weight: bold;
    margin-bottom: 15px;
}
