/* CIP Companies — front end. Brand tokens from the CIP identity; logical properties keep RTL (Arabic) correct. */
.cip-wrap, .cip-co {
	--cip-navy: #031d44;
	--cip-blue: #1f78bd;
	--cip-strong: #0062a0;
	--cip-text: #44474e;
	--cip-border: #c4c6cf;
	--cip-surface: #f5f3f7;
	color: var(--cip-text);
	font-family: inherit;
}
.cip-wrap *, .cip-co * { box-sizing: border-box; }

.cip-btn {
	display: inline-block; padding: 10px 22px; border: 2px solid var(--cip-strong); border-radius: 4px;
	background: var(--cip-strong); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.4;
}
.cip-btn:hover { background: var(--cip-navy); border-color: var(--cip-navy); color: #fff; }
.cip-btn--ghost { background: transparent; color: var(--cip-strong); }

.cip-notice { padding: 12px 16px; margin-block: 0 16px; border-inline-start: 4px solid var(--cip-blue); background: #e8f1fa; }
.cip-notice--success { border-color: #1a7f45; background: #e2f5ea; }
.cip-notice--warning { border-color: #b7791f; background: #fdf3dc; }
.cip-notice--error { border-color: #e60944; background: #fde2e8; }

.cip-badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cip-badge--visible { background: #d7f0df; color: #14532d; }
.cip-badge--hidden { background: #edeef1; color: #44474e; }
.cip-badge--suspended { background: #fde2e8; color: #9f0a30; }
.cip-badge--pending { background: #fff0cc; color: #7a4b00; }

.cip-panel { padding: 16px 20px; margin-block-end: 24px; border: 1px solid var(--cip-border); border-radius: 6px; background: var(--cip-surface); }
.cip-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cip-panel__actions form { margin: 0; }

.cip-form .cip-field { margin-block-end: 18px; border: 0; padding: 0; }
.cip-form label, .cip-form legend { display: block; margin-block-end: 6px; font-weight: 600; }
.cip-form input[type="text"], .cip-form input[type="url"], .cip-form input[type="tel"],
.cip-form input[type="number"], .cip-form textarea, .cip-form select {
	width: 100%; padding: 10px 12px; border: 1px solid var(--cip-border); border-radius: 4px; font: inherit; background: #fff;
}
.cip-form .cip-map-coords input { width: 160px; }
.cip-form .cip-map-search input { width: auto; }
.cip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 20px; }
.cip-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.cip-check { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 400 !important; }
.cip-current { display: flex; align-items: center; gap: 12px; margin-block-end: 8px; }
.cip-current--multi { flex-wrap: wrap; align-items: flex-start; }
.cip-current--multi span { display: flex; flex-direction: column; gap: 4px; }
.cip-current img { width: 90px; height: 90px; object-fit: cover; border-radius: 4px; }

.cip-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 29, 68, .6); }
.cip-modal__box { max-width: 460px; width: 100%; background: #fff; border-top: 4px solid #0062A0; border-radius: 6px; padding: 24px; box-shadow: 0 12px 40px rgba(3, 29, 68, .35); }
.cip-modal__box h3 { margin: 0 0 12px; color: #031D44; }
.cip-modal__contact { list-style: none; margin: 16px 0; padding: 14px 16px; background: #FAF9FD; border: 1px solid #C4C6CF; border-radius: 4px; }
.cip-modal__contact li { margin: 4px 0; }
