/* Custom styles for tender management UI */

/* Active navigation link */
.nav-link.active {
    background-color: #f3f4f6;
    color: #111827;
    font-weight: 600;
}

/* Loading spinner */
.spinner {
    border: 2px solid #f3f4f6;
    border-top-color: #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge styles for match bands */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-high {
    background-color: #dcfce7;
    color: #166534;
}

.badge-medium {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-low {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-pending {
    background-color: #e0e7ff;
    color: #3730a3;
}

.badge-pursuing {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-declined {
    background-color: #f3f4f6;
    color: #4b5563;
}

.badge-submitted {
    background-color: #d1fae5;
    color: #065f46;
}

/* Table hover effect */
.table-row-hover:hover {
    background-color: #f9fafb;
    cursor: pointer;
}

/* Toast notifications */
.toast {
    min-width: 300px;
    max-width: 500px;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    background-color: #dcfce7;
    border-left: 4px solid #16a34a;
    color: #166534;
}

.toast-error {
    background-color: #fee2e2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}

/* Stat card */
.stat-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Empty state */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.3;
}
