* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f5f7;
    color: #222;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 30px auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 22px;
    margin-bottom: 20px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.btn:hover {
    background: #1d4ed8;
}

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

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

.btn-danger {
    background: #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-small {
    padding: 4px 10px;
    font-size: 13px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    font-size: 14px;
    vertical-align: top;
}

th {
    background: #f0f0f0;
}

tr:nth-child(even) {
    background: #fafafa;
}

.empty-state {
    padding: 30px;
    text-align: center;
    color: #777;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

textarea {
    resize: vertical;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.items-table th {
    font-size: 13px;
}

.items-table td {
    padding: 6px;
}

.s-no {
    text-align: center;
    width: 40px;
}

.col-remove {
    width: 40px;
    text-align: center;
}

.remove-row {
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 13px;
}

.remove-row:hover {
    background: #b91c1c;
}

.actions-row {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.actions-cell a {
    margin-right: 10px;
    font-size: 13px;
}
