/* Compact styles for pages/input_kriteria.php form and table */
.compact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
}

.compact-form .form-row {
    display: flex;
    flex-direction: column;
    flex: 1 1 220px;
    min-width: 220px;
    margin-bottom: 8px;
}

.compact-form .form-row label {
    margin-bottom: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.compact-form .form-row input,
.compact-form .form-row select {
    width: 100%;
    padding: 6px 8px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.9em;
}

.compact-form .form-row.form-actions {
    flex-basis: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.compact-form .form-row.form-actions button,
.compact-form .form-row.form-actions a {
    padding: 8px 16px;
    font-size: 0.9em;
    border-radius: 4px;
    text-decoration: none;
}

.compact-form .form-row.form-actions a {
    background-color: #ccc;
    color: #333;
    border: 1px solid #999;
}

.compact-form .form-row.form-actions a:hover {
    background-color: #bbb;
    color: #000;
}

.compact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.compact-table th, .compact-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
    font-size: 0.9em;
}

.compact-table th {
    background-color: #2980b9;
    color: white;
}

.compact-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.compact-table tr:hover {
    background-color: #e9e9e9;
}
