/* =====================
   Supplier Styles
   ===================== */

.supplier-card {
    background: #1f2937;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #2d3748;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.supplier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
}

.supplier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2d3748;
}

.supplier-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #d1fae5;
    color: #065f46;
}

.status-badge:not(.active) {
    background: #2d3748;
    color: #9ca3af;
}

.supplier-info {
    margin-bottom: 1rem;
}

.supplier-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 0.3rem;
}

.supplier-type {
    font-size: 0.9rem;
    color: #9ca3af;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #fbbf24;
}

.rating-text {
    font-size: 0.85rem;
    color: #3b82f6;
    font-weight: 600;
}

.supplier-details {
    background: #111827;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #2d3748;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.detail-icon {
    font-size: 1rem;
}

.supplier-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-label {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.3rem;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #a26812;
}

.supplier-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.supplier-actions .btn {
    flex: 1;
}

/* =====================
   Responsive Design
   ===================== */

@media (max-width: 768px) {
    .supplier-card {
        padding: 1.25rem;
    }

    .supplier-stats {
        grid-template-columns: 1fr;
    }

    .supplier-actions {
        flex-direction: column;
    }

    .supplier-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
