* {
    box-sizing: border-box;
    font-family: Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f8;
}

.topbar {
    height: 56px;
    background: #2c343c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    color: #fff;
}

.topbar a {
    color: #9bd67d;
    text-decoration: none;
    font-weight: 500;
}

.container {
    max-width: 900px;
    margin: 40px auto;
}

.card {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

h2 {
    margin-top: 0;
    font-size: 18px;
}

input, select, button {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #dcdfe4;
    font-size: 14px;
}

input {
    width: 100%;
}

button {
    cursor: pointer;
}

button.primary {
    background: #6bbf59;
    color: #fff;
    border: none;
}

button.primary:hover {
    background: #5aa84b;
}

button:not(.primary) {
    background: #eef1f4;
}

.field-row {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.accordion {
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    background: #f7f9fb;
}

.accordion-header::before,
.accordion-header::after {
    content: none !important;
}

.accordion-header:hover {
    background: #eef2f6;
}

.accordion-arrow {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.accordion.open .accordion-arrow {
    transform: rotate(90deg);
}

.accordion-title {
    flex: 1;
    font-weight: 600;
}

.accordion-content {
    display: none;
    padding: 16px;
    border-top: 1px solid #e1e5ea;
    background: #fff;
}

.accordion.open .accordion-content {
    display: block;
}

.delete-btn {
    background: none;
    border: none;
    color: #c0392b;
    font-size: 18px;
    cursor: pointer;
}