/* CSS Reset & Variables */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
}

body {
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif;
}

/* Custom Card (extending Bootstrap .card) */
.card-custom {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.card-custom h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Entity Lists */
.entity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.entity-list li {
    padding: 1.25rem;
    border: 1px solid #dee2e6;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    background-color: #fff;
    transition: box-shadow 0.2s;
}

.entity-list li:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

.tag-remove {
    margin-left: 0.3rem;
    cursor: pointer;
    font-weight: bold;
    opacity: 0.8;
}

.tag-remove:hover {
    opacity: 1;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer layout */
.app-footer {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-size: 0.875rem;
}