@import url('https://googleapis.com');


/* 1. TIPOGRAFÍA Y BASE */


html, body { 
    height: 100%; 
    font-family: 'Inter', sans-serif; /* Fuente más moderna que Open Sans */
    background-color: #f8fafc; /* Fondo gris muy suave, descansa la vista */
    color: #1e293b;
}

.title { 
    font-family: 'Raleway', sans-serif; 
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* 2. ESTRUCTURA (WRAPPER) */
.wrap { 
    min-height: 100%; 
    height: auto; 
    margin: 0 auto -60px; 
    padding: 0 0 60px; 
}

.wrap > .container { 
    padding: 100px 15px 40px; /* Más espacio arriba para que respire */
}

/* 3. NAVBAR (Adiós al verde chillón) */
.navbar-inverse { 
    background-color: #064e3b; /* Un verde bosque profundo, mucho más elegante */
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-inverse .navbar-nav > li > a { 
    color: #ecfdf5; 
    font-weight: 500;
    transition: all 0.3s;
}

.navbar-inverse .navbar-nav > li > a:hover { 
    color: #ffffff;
    background-color: rgba(255,255,255,0.1);
}

.navbar-inverse .navbar-brand { 
    color: white; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. TARJETAS (CARDS) MODERNAS */
.card { 
    background-color: #ffffff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    color: #334155;
    margin-bottom: 20px;
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 5. FORMULARIOS (Limpios y amplios) */
.form1 { 
    z-index: 1; 
    background: #FFFFFF; 
    max-width: 600px; /* Fixed width mejor que % para pantallas grandes */
    margin: 0 auto 50px; 
    padding: 40px; 
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); /* Sombra tipo floating */
}

.form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    height: 42px;
    box-shadow: none !important;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #10b981;
    background-color: #f0fdf4;
}

/* 6. GRIDVIEW Y TABLAS */
.grid-view table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.grid-view th { 
    background-color: #f8fafc;
    color: #64748b;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 15px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.grid-view td {
    padding: 15px !important;
    vertical-align: middle !important;
    border-top: 1px solid #f1f5f9 !important;
}

/* 7. BOTONES */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.2s;
}

.btn-success {
    background-color: #10b981;
    border: none;
}

.btn-success:hover {
    background-color: #059669;
    transform: translateY(-1px);
}

/* 8. FOOTER */
.footer { 
    height: 60px; 
    background-color: #ffffff; 
    border-top: 1px solid #e2e8f0; 
    padding-top: 20px;
    color: #64748b;
    font-size: 13px;
}

/* Ajustes de iconos de ordenamiento */
a.asc:after, a.desc:after {
    font-family: 'Glyphicons Halflings';
    opacity: 0.5;
    margin-left: 5px;
}

/* Imagen con filtro más sutil (menos agresivo que el sepia total) */
.image1 { 
    background: url('https://images.pexels.com/photos/1229860/pexels-photo-1229860.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center; 
    filter: brightness(0.8) contrast(1.1); 
    border-radius: 12px;
}
