/* Import Google Fonts: Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f4f7f6;
    color: #2d3748;
}

/* Kustomisasi Navbar */
.navbar {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Kustomisasi Card */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.card-title {
    font-weight: 700;
    color: #1a202c;
}

/* Kustomisasi Tabel */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    background-color: #212529 !important;
    color: #ffffff !important;
}

.table td {
    vertical-align: middle;
}

/* Desain Pratinjau Gelembung WhatsApp (WA Bubble) */
.wa-bubble {
    background-color: #d9fdd3; /* Warna hijau muda khas WA */
    padding: 16px;
    border-radius: 0 8px 8px 8px; /* Sudut lancip di kiri atas seperti chat masuk */
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    position: relative;
    margin-bottom: 20px;
    max-width: 100%;
    border: 1px solid #c9ebd3;
}

.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 0px solid transparent;
    border-right: 10px solid #d9fdd3;
    border-bottom: 12px solid transparent;
    filter: drop-shadow(-1px 1px 1px rgba(0,0,0,0.1));
}

.wa-bubble img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 12px;
    display: block;
    border: 1px solid rgba(0,0,0,0.05);
}

.wa-bubble p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap; /* Mempertahankan spasi dan enter/baris baru dari database */
    color: #111;
}

/* Kustomisasi Form & Input */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cbd5e1;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.custom-radio {
    padding: 10px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
}

.custom-radio:hover {
    background-color: #e2e8f0;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Tombol Kustom */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
    transform: translateY(-1px);
}