﻿
body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}


.sidebar {
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
    min-height: 100vh;
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 1px;
    padding: 0 15px;
    margin-bottom: 8px;
}

.sidebar-link {
    display: block;
    padding: 10px 15px;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

    .sidebar-link:hover {
        background-color: #e8f0fe;
        color: #0d6efd;
        padding-left: 20px;
    }

    .sidebar-link.active {
        background-color: #0d6efd;
        color: #ffffff;
    }

    .sidebar-link i {
        width: 20px;
        text-align: center;
    }


h2 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
}

h4, h5 {
    font-weight: 600;
}


.table {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

    .table thead th {
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 12px 10px;
    }

    .table tbody tr:hover {
        background-color: #f8f9fa;
    }

    .table td {
        vertical-align: middle;
        font-size: 0.9rem;
    }


.card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: translateY(-3px);
    }

.card-header {
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0;
}


.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    margin-bottom: 4px;
}


.btn {
    border-radius: 8px;
    font-size: 0.88rem;
    padding: 6px 16px;
    transition: all 0.2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .btn i {
        font-size: 0.85rem;
    }


.badge {
    font-size: 0.78rem;
    padding: 5px 10px;
    border-radius: 20px;
}


.alert {
    border-radius: 10px;
    font-size: 0.9rem;
}


.card.border-primary {
    border-width: 2px !important;
}


.img-bandera {
    width: 65px;
    height: 42px;
    object-fit: cover;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}


.detalle-tabla th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 35%;
}


footer {
    background-color: #ffffff !important;
    border-top: 1px solid #dee2e6;
    font-size: 0.82rem;
}


@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}
