﻿
body {
    background-color: #f6f9fc; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: #333; 
}

/*CSS para el navbar*/
.navbar-custom {
    background-color: #003366; 
}
    .navbar-custom .nav-link,
    .navbar-custom .navbar-brand {
        color: white !important;
        font-weight: 500; 
    }

.navbar-custom .nav-link:hover {
            color: #9fc7ff !important;
}

.layout-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
    .layout-body > .container,
    .layout-body > main {
        flex: 1;
    }


/*CSS para el footer */
.footer-custom {
    background-color: #2c2c2c; 
    color: white; 
    padding: 12px 0; 
    text-align: center;
    font-size: 0.95rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.10); 
    width: 100%;
}

    .footer-custom p {
        margin: 3px 0;
        letter-spacing: 0.3px;
    }

    .footer-custom i {
        font-size: 0.95rem;
        margin-right: 4px;
    }


h1 {
    font-weight: 700;
    color: #003366; 
    margin-bottom: 25px;
}


/* CSS para las CARD*/
.card-option {
    height: 100%; 
    min-height: 260px;
    border-radius: 12px; 
    transition: 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    padding: 20px;
}

.card-option {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .card-option:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }

    .card-option .btn {
        margin-top: auto;
    }


/* CSS para las tablas */
.table {
    background: white;
    border-radius: 8px;
    overflow: hidden; 
}

    .table thead {
        background-color: #003366;
        color: white;
    }

    .table tbody tr:hover {
        background-color: #eef3ff;
    }

/* CSS para formularios */
form {
    background: white !important;
}

.is-invalid {
    border: 2px solid #dc3545 !important;
    background-color: #ffecec !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.layout-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.flex-grow-1 {
    flex: 1;
}
