.page-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2a56;
}

.page-subtitle {
    font-size: 0.95rem;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 8px 22px rgba(31, 42, 86, 0.08);
    border: 1px solid rgba(31, 42, 86, 0.05);
}

.summary-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.4rem;
    box-shadow: 0 8px 16px rgba(31, 42, 86, 0.15);
}

.summary-card__label {
    margin-bottom: 0.35rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.summary-card__value {
    margin: 0;
    font-weight: 600;
    color: #1f2a56;
}

.summary-card__hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.search-form .form-control {
    border-right: none;
}

.search-form .input-group-text {
    background-color: #ffffff;
    border-left: none;
}

.search-form .btn {
    border-radius: 0.75rem 0 0 0.75rem;
}

.entity-card {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid rgba(31, 42, 86, 0.06);
    box-shadow: 0 12px 28px rgba(31, 42, 86, 0.09);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.entity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(31, 42, 86, 0.14);
}

.entity-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.entity-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4e61d3 0%, #6f8ffc 100%);
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
}

.entity-card__avatar--client {
    background: linear-gradient(135deg, #ff9d6c 0%, #ff6a88 100%);
}

.entity-card__badges .badge {
    font-weight: 500;
    margin-left: 0.4rem;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.entity-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2a56;
}

.entity-card__subtitle {
    font-size: 0.85rem;
}

.entity-card__meta li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: #4f566b;
    margin-bottom: 0.5rem;
}

.entity-card__meta li i {
    font-size: 1.1rem;
    color: #4e61d3;
}

.entity-card__meta a {
    text-decoration: none;
}

.entity-card__meta a:hover {
    color: #1f2a56;
}

.entity-card__body {
    padding: 1.5rem 1.5rem 0.5rem;
    background: #d9dee5;
    flex: 1;
}

.entity-card__footer {
    padding: 1rem 1.5rem 1.5rem;
    background: #d9dee5;
    border-top: 1px solid rgba(31, 42, 86, 0.12);
    margin-top: auto;
}

.entity-card__actions .btn {
    border-radius: 999px;
}

.entity-card__media {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: block;
}

.entity-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.entity-card__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(78, 97, 211, 0.08) 0%, rgba(111, 143, 252, 0.12) 100%);
    color: #4e61d3;
    font-size: 4rem;
}

.entity-card__excerpt {
    line-height: 1.7;
    font-size: 0.92rem;
}

.filter-card {
    border-radius: 22px;
    border: 1px solid rgba(31, 42, 86, 0.06);
    box-shadow: 0 12px 28px rgba(31, 42, 86, 0.08);
}

.filter-form .form-control,
.filter-form .form-select {
    border-radius: 0.9rem;
}

.filter-form .btn {
    border-radius: 0.9rem;
}

.empty-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(78, 97, 211, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4e61d3;
    font-size: 2.2rem;
}

@media (max-width: 991.98px) {
    .entity-card__media {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .search-form {
        flex-wrap: wrap;
    }

    .search-form .input-group-text,
    .search-form .form-control,
    .search-form .btn {
        border-radius: 0.75rem !important;
    }
}

