.add-lojista-wrap {
    --add-primary: #000BAC;
    --add-primary-hover: #1A28C7;
    --add-border: #d9dde3;
    --add-text: #1f2937;
    --add-muted: #6b7280;
    --add-bg-soft: #f7f8fa;
    max-width: 900px;
    margin: 0 auto;
    color: var(--add-text);
}

.add-lojista-panel {
    width: 100%;
}

.add-lojista-panel[hidden],
.add-company-fields[hidden] {
    display: none !important;
}

.add-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 20px;
}

.add-field {
    grid-column: span 3;
    min-width: 0;
}

.add-col-full { grid-column: 1 / -1; }
.add-col-2-3 { grid-column: span 4; }
.add-col-1-3 { grid-column: span 2; }

.add-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 7px;
}

.add-field label span {
    color: #b42318;
}

.add-field input,
.add-field select,
.add-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--add-border);
    border-radius: 5px;
    background: #fff;
    color: var(--add-text);
    font: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.add-field input:focus,
.add-field select:focus,
.add-field textarea:focus {
    border-color: var(--add-primary);
    box-shadow: 0 0 0 3px rgba(0, 11, 172, .14);
}

.add-field small {
    display: block;
    margin-top: 6px;
    color: var(--add-muted);
    font-size: 12px;
    line-height: 1.4;
}

.add-inline-field {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.add-inline-field input {
    flex: 1;
}

.add-btn {
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color .15s ease, opacity .15s ease;
}

.add-lojista-wrap .add-btn-primary,
.add-lojista-wrap .add-btn-secondary {
    background: var(--add-primary) !important;
    color: #fff !important;
    white-space: nowrap;
}

.add-lojista-wrap .add-btn-primary:hover,
.add-lojista-wrap .add-btn-secondary:hover {
    background: var(--add-primary-hover) !important;
    color: #fff !important;
}

.add-btn:disabled,
.add-btn.is-loading {
    opacity: .65;
    cursor: wait;
}

.add-lojista-status,
.add-lost-status {
    white-space: pre-line;
    display: none;
    padding: 11px 13px;
    border-radius: 5px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.4;
}

.add-lojista-status:not(:empty),
.add-lost-status:not(:empty) {
    display: block;
}

.add-lojista-status.is-info,
.add-lost-status.is-info {
    background: #eff6ff;
    color: #1e40af;
}

.add-lojista-status.is-success,
.add-lost-status.is-success {
    background: #ecfdf3;
    color: #067647;
}

.add-lojista-status.is-error,
.add-lost-status.is-error {
    background: #fef3f2;
    color: #b42318;
}

.add-separator {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--add-border);
}

.add-separator span {
    font-size: 14px;
    font-weight: 700;
}

.add-actions {
    margin-top: 4px;
}


.add-lojista-hp {
    display: none !important;
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .add-grid {
        display: block;
    }

    .add-field {
        margin-bottom: 16px;
    }

    .add-inline-field {
        display: block;
    }

    .add-inline-field .add-btn {
        width: 100%;
        margin-top: 10px;
    }
}
