/* ===== GLOBAL ===== */
body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 15px;
    color: #333;
}

.container {
    max-width: 1100px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* ===== HEADINGS ===== */
h1 {
    font-weight: 600;
    margin-bottom: 25px;
}

/* ===== CARD ===== */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.card-body {
    padding: 20px;
}

/* ===== FORM ===== */
.form-label {
    font-weight: 500;
    margin-bottom: 6px;
}

.form-control {
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ===== TABLE ===== */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f1f5f9;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.table td {
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: #f9fafb;
}

/* ===== TOTAL ===== */
.row-total {
    font-weight: 600;
    color: #16a34a;
    text-align: right;
}

/* ===== SUMMARY ===== */
.card-body.text-end h5 {
    font-size: 18px;
}

.card-body.text-end strong {
    color: #dc2626;
    font-size: 20px;
}

/* ===== ALERT ===== */
.alert-danger {
    border-radius: 8px;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary {
    background-color: #3b82f6;
    border: none;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    background-color: #6b7280;
    border: none;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 22px;
    }

    .table thead {
        display: none;
    }

    .table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 2px solid #e5e7eb;
    }

    .table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
    }

    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6b7280;
    }
}
