/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(69, 162, 69, 0.075);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(58, 154, 34, 0.15);
}

.card-header {
    font-weight: 600;
}

/* Textarea de fichas */
#fichas-input {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    min-height: 200px;
}

/* Botones */
.btn-custom {
    background-color: #4CAF50;
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: #3d8b40;
    color: white;
    transform: translateY(-2px);
}

.btn-custom.disabled {
    opacity: 0.65;
}

/* Lista de fichas */
.fichas-lista {
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Tablas */
.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Responsividad */
@media (max-width: 768px) {
    .btn-custom {
        width: 100%;
        margin-bottom: 10px;
    }

    .card-body {
        padding: 1rem;
    }
}

/* Paginación */
.pagination {
    margin-top: 20px;
}

.page-item.active .page-link {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.page-link {
    color: #4CAF50;
}

.page-link:hover {
    color: #3d8b40;
}

.page-item.disabled .page-link {
    color: #6c757d;
}