.camp-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.camp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.camp-modal-panel {
    position: relative;
    width: min(520px, 100%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.camp-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.camp-modal-head h2 {
    margin: 0;
    font-size: 1.1rem;
}

.camp-modal-close {
    border: none;
    background: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.camp-modal-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.camp-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.camp-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.camp-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #334155;
}

.camp-form-error {
    margin: 0;
    font-size: 0.85rem;
    color: #dc2626;
}

.camp-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.camp-desc-muted {
    color: #64748b;
    font-size: 0.85rem;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.camp-material-tag {
    display: inline-flex;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 600;
}

.text-gray-400 { color: #9ca3af; }
.text-red-600 { color: #dc2626; }
.text-right { text-align: right; }
