/* ============================================
   PELANGGAN & POIN STYLES
   ============================================ */

/* Info Banner */
.info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #E8F4FD;
    border-left: 3px solid #2C3947;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.info-banner i {
    width: 20px;
    height: 20px;
    color: #2C3947;
    flex-shrink: 0;
}

.info-banner span {
    font-size: 13px;
    color: #2C3947;
}

/* Search Bar */
.search-bar {
    margin-bottom: 24px;
}

.search-box {
    position: relative;
    max-width: 350px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #547A95;
}

.search-box input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid #E8EDF2;
    border-radius: 4px;
    font-size: 14px;
    background: #FFFFFF;
}

.search-box input:focus {
    outline: none;
    border-color: #547A95;
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 1px solid #E8EDF2;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: #547A95;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8EDF2;
    border-radius: 4px;
}

.stat-icon i {
    width: 24px;
    height: 24px;
    color: #2C3947;
}

.stat-info {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #547A95;
    margin-bottom: 4px;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    color: #2C3947;
    line-height: 1.2;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th {
    text-align: left;
    padding: 12px;
    background: #E8EDF2;
    font-weight: 600;
    border-bottom: 1px solid #547A95;
    color: #2C3947;
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #E8EDF2;
    color: #2C3947;
    vertical-align: middle;
}

.data-table tr:hover td {
    background: #E8EDF2;
}

/* Point Badge */
.point-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #2C3947;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 55px;
}

/* Warning Text */
.warning-text {
    color: #AE2448;
    margin-top: 8px;
    font-size: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #E8EDF2;
}

.page-info {
    font-size: 13px;
    color: #547A95;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .data-table {
        font-size: 11px;
    }
    
    .data-table th,
    .data-table td {
        padding: 6px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}