/* ========== Filter Section ========== */

.filter-section {
    position: relative;
}

.filter-select:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* ========== Contract Icon ========== */

.contract-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 8px;
    flex-shrink: 0;
}

.contract-icon i {
    font-size: 18px;
    color: #ffffff;
}

.contract-name-link {
    font-weight: 500;
    color: #1e40af;
    text-decoration: none;
}

.contract-name-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ========== Status Badges ========== */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-draft {
    background: #f3f4f6;
    color: #4b5563;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-expiring {
    background: #fef3c7;
    color: #92400e;
}

.status-expired {
    background: #fce4ec;
    color: #991b1b;
}

.status-renewed {
    background: #dbeafe;
    color: #1e40af;
}

.status-cancelled {
    background: #f3f4f6;
    color: #6b7280;
}

/* ========== NTE Amount Column ========== */

.nte-column {
    text-align: right;
}

.nte-cell {
    text-align: right;
    font-weight: 500;
    white-space: nowrap;
}

/* ========== Actions Cell ========== */

.actions-cell {
    white-space: nowrap;
}

.actions-cell .btn {
    margin-right: 4px;
}

.actions-cell .btn:last-child {
    margin-right: 0;
}

/* ========== Responsive ========== */

@media (max-width: 1200px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-section .filter-group:first-child {
        flex: 1 1 auto;
    }

    .filter-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .data-table {
        font-size: 13px;
    }

    .contract-icon {
        width: 32px;
        height: 32px;
    }

    .contract-icon i {
        font-size: 14px;
    }
}
