/* 
   Clinical OS V10 - Vendors Explorer 
   Premium card-centric design for Medical Suppliers & Partners
*/

:root {
    --vendor-primary: #0f172a;
    --vendor-accent: #2563eb;
    --vendor-bg-soft: #f8fafc;
}

/* Vendor Card Premium Styling */
.vendor-premium-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.vendor-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
}

.vendor-card-media {
    height: 140px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.vendor-card-media img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.vendor-premium-card:hover .vendor-card-media img {
    transform: scale(1.05);
}

.vendor-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #10b981;
    border: 1px solid #d1fae5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vendor-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vendor-type-tag {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 6px;
}

.vendor-main-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.vendor-location-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 16px;
}

.vendor-stats-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.vendor-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.vendor-stat-item i {
    color: #f59e0b;
}

.vendor-action-btn {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    text-align: center;
    text-decoration: none;
}

.vendor-premium-card:hover .vendor-action-btn {
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* Initials Placeholder for Vendors */
.vendor-initials-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #94a3b8;
    font-family: 'Outfit', sans-serif;
}
