
/* Clean Card Styles - Fixed Edge Distortion */
.custom-card,
.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    margin: 0.5rem;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    /* Fix for smooth edges */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Ensure clean rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.custom-card:hover,
.card:hover {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px) translateZ(0);
}

.custom-card .card-header,
.card-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #111827;
    border-radius: 12px 12px 0 0;
    margin: 0;
}

.custom-card .card-body,
.card-body {
    padding: 1.5rem;
    background: white;
    border-radius: 0 0 12px 12px;
    margin: 0;
}

.custom-card .card-title,
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.custom-card .card-subtitle,
.card-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
