body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f7fb;
    color: #111827;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 24px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.row {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

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

.btn {
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

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

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

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

.btn-secondary {
    background: #e5e7eb;
    color: #111827;
    text-align: center;
}

.helper {
    margin-top: -8px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
}

.field-readonly {
    background: #f3f4f6;
    color: #111827;
    font-weight: 700;
    cursor: not-allowed;
}

.top-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 600;
}

.top-link:hover {
    color: #111827;
}

.messages {
    margin-bottom: 18px;
    display: grid;
    gap: 10px;
}

.message {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    line-height: 1.5;
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.message__content {
    flex: 1;
}

.message__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.72;
    padding: 0;
    margin: -2px 0 0;
}

.message__close:hover {
    opacity: 1;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.info {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.debug {
    background: #ede9fe;
    color: #5b21b6;
    border-color: #ddd6fe;
}
