/* assets/css/style.css */
:root {
    --primary: #2563eb;
    --success: #22c55e;
    --danger: #ef4444;
    --gray: #f3f4f6;
    --dark: #1f2937;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9fafb;
    margin: 0;
    color: var(--dark);
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

h1 { margin: 0; font-size: 24px; }

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-primary { background: var(--primary); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-default { background: var(--gray); color: var(--dark); }
.btn-sm { padding: 5px 10px; font-size: 12px; }

table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th { background: #f8fafc; font-weight: 600; }

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-paid { background: #dcfce7; color: #166534; }
.badge-unpaid { background: #fee2e2; color: #991b1b; }

.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: 500; }

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-sizing: border-box;
}

hr { border: 0; border-top: 1px solid #eee; margin: 30px 0; }

.card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.actions { margin-top: 20px; }
.table-items { margin-bottom: 20px; }
.total-display { font-size: 18px; font-weight: bold; text-align: right; }