/* Custom Style untuk Aplikasi Katrol Nilai */
body {
    background-color: #f1f5f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.table-responsive {
    max-height: 440px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

th {
    background-color: #0d6efd !important;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: center;
}

th:first-child {
    text-align: left;
}

/* Jika hanya 1 kolom hasil nilai katrol, tengahkan text header-nya */
thead tr th:only-child {
    text-align: center !important;
}

textarea.form-control {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    background-color: #fafafa;
    border: 1px solid #cbd5e1;
    resize: none;
}

textarea.form-control:focus {
    background-color: #fff;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: #2563eb;
    border: none;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-success {
    background-color: #10b981;
    border: none;
}

.btn-success:hover {
    background-color: #059669;
}

.table td {
    vertical-align: middle;
}