/* =========================================================
   SIPP FRONTEND STYLES
   ========================================================= */

/* Membuat tabel responsif di layar HP */
.sipp-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 15px;
}

.sipp-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.sipp-table th, .sipp-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.sipp-table th {
    background-color: #2271b1;
    color: white;
}

.sipp-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.sipp-table tr:hover {
    background-color: #f1f1f1;
}

/* Tombol Aksi */
.sipp-btn {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: center;
}

.sipp-btn-primary { background: #2271b1; color: white; }
.sipp-btn-primary:hover { background: #135e96; color: white; }

.sipp-btn-success { background: #46b450; color: white; }
.sipp-btn-success:hover { background: #3c9a44; color: white; }

.sipp-btn-danger { background: #d63638; color: white; }
.sipp-btn-danger:hover { background: #b32d2e; color: white; }

/* Styling Form yang lebih rapi */
.sipp-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* Responsif untuk Form Grid di Layar Kecil */
@media screen and (max-width: 768px) {
    .sipp-grid {
        grid-template-columns: 1fr !important;
    }
    .sipp-full {
        grid-column: span 1 !important;
    }
}