/* Colores MODAX */
:root {
    --modax-orange: #E5563D;
    --modax-orange-dark: #C74430;
    --modax-orange-light: #F0705D;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Navbar MODAX */
.navbar-modax {
    background-color: var(--modax-orange) !important;
}

.navbar-modax .navbar-brand,
.navbar-modax .nav-link {
    color: white !important;
}

.navbar-modax .nav-link:hover {
    color: #f8f9fa !important;
    opacity: 0.9;
}

.navbar-modax .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-modax .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo con fondo claro */
.logo-modax-container {
    background-color: #FFF8F5;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Botones MODAX */
.btn-modax {
    background-color: var(--modax-orange);
    border-color: var(--modax-orange);
    color: white;
}

.btn-modax:hover {
    background-color: var(--modax-orange-dark);
    border-color: var(--modax-orange-dark);
    color: white;
}

/* Headers MODAX */
.card-header-modax {
    background-color: var(--modax-orange);
    color: white;
}

/* Tabla MODAX */
.table-modax {
    background-color: var(--modax-orange) !important;
    color: white !important;
}

.table-modax th {
    color: white !important;
    background-color: var(--modax-orange) !important;
    border-color: var(--modax-orange-dark) !important;
    font-weight: 600;
}

/* Badge MODAX */
.badge-modax {
    background-color: var(--modax-orange);
    color: white;
}

.badge-modax-light {
    background-color: var(--modax-orange-light);
    color: white;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.table-responsive {
    border-radius: 0.25rem;
}

.badge {
    font-size: 0.875rem;
    padding: 0.35em 0.65em;
}

#imagePreview img {
    max-width: 100%;
    height: auto;
}

.alert {
    border-radius: 0.5rem;
}

pre {
    border-radius: 0.25rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.lead {
    color: #6c757d;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}
