/* ============================================================
   mr-send-review.css — ממשק שליחת ביקורת מהפרונט
   צבעי בסיס: #050E42 (כהה), #D82466 (ורוד/ראשי), #f5f7fb (רקע)
   ============================================================ */

.mr-sr-wrap {
    direction: rtl;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 500px;
    font-family: inherit;
    box-shadow: 0 2px 12px rgba(5,14,66,.06);
}

/* ── Header ───────────────────────────────────────────────── */
.mr-sr-header {
    text-align: center;
    margin-bottom: 24px;
}
.mr-sr-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}
.mr-sr-title {
    font-size: 18px;
    font-weight: 700;
    color: #050E42;
    margin: 0 0 4px;
}
.mr-sr-sub {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

/* ── Clinic name tag ──────────────────────────────────────── */
.mr-sr-clinic-name {
    margin-bottom: 16px;
}
.mr-sr-tag {
    display: inline-block;
    background: #F3F0FF;
    color: #050E42;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* ── Fields ───────────────────────────────────────────────── */
.mr-sr-field {
    margin-bottom: 14px;
}
.mr-sr-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.mr-sr-optional {
    font-weight: 400;
    color: #9CA3AF;
    font-size: 12px;
}
.mr-sr-req {
    color: #D82466;
}
.mr-sr-input,
.mr-sr-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #050E42;
    background: #fff;
    direction: rtl;
    transition: border-color .15s;
    box-sizing: border-box;
}
.mr-sr-input:focus,
.mr-sr-select:focus {
    outline: none;
    border-color: #D82466;
    box-shadow: 0 0 0 3px rgba(216,36,102,.08);
}
.mr-sr-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 36px;
}

/* ── Divider ──────────────────────────────────────────────── */
.mr-sr-divider {
    border: none;
    border-top: 1px solid #F3F4F6;
    margin: 16px 0;
}

/* ── Checkbox ─────────────────────────────────────────────── */
.mr-sr-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    margin-bottom: 16px;
}
.mr-sr-checkbox-row input[type="checkbox"] {
    accent-color: #D82466;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ── Submit button ────────────────────────────────────────── */
.mr-sr-btn-submit {
    display: block;
    width: 100%;
    padding: 13px;
    background: #D82466;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s;
    text-align: center;
}
.mr-sr-btn-submit:hover    { background: #bd1c57; }
.mr-sr-btn-submit:disabled { background: #E2A6BE; cursor: not-allowed; }

/* ── Generic buttons ──────────────────────────────────────── */
.mr-sr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #050E42;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    text-decoration: none;
}
.mr-sr-btn:hover        { background: #F9FAFB; border-color: #D1D5DB; }
.mr-sr-btn-copy         { background: #F3F4F6; border-color: #E5E7EB; }
.mr-sr-btn-copy:hover   { background: #E5E7EB; }
.mr-sr-btn-wa           { background: #25D366; border-color: #25D366; color: #fff; margin-top: 8px; }
.mr-sr-btn-wa:hover     { background: #1ebe57; border-color: #1ebe57; color: #fff; }

/* ── Result box ───────────────────────────────────────────── */
.mr-sr-result {
    margin-top: 16px;
}
.mr-sr-result-inner {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.mr-sr-result-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.mr-sr-result-body {
    flex: 1;
    min-width: 0;
}
.mr-sr-result-body strong {
    display: block;
    font-size: 14px;
    color: #166534;
    margin-bottom: 8px;
}
.mr-sr-link-row {
    display: flex;
    gap: 6px;
    align-items: center;
}
.mr-sr-link-input {
    font-size: 12px;
    color: #374151;
    background: #fff;
    flex: 1;
    min-width: 0;
    margin-bottom: 0 !important;
}
.mr-sr-btn-reset {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: none;
    border: none;
    color: #D82466;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    padding: 4px;
}
.mr-sr-btn-reset:hover { text-decoration: underline; }

/* ── Loading inline ───────────────────────────────────────── */
.mr-sr-loading-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    font-size: 13px;
    padding: 8px 0;
}
.mr-sr-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── Spinner ──────────────────────────────────────────────── */
.mr-sr-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mr-spin .7s linear infinite;
    flex-shrink: 0;
}
.mr-sr-loading-inline .mr-sr-spinner {
    border-color: rgba(107,114,128,.3);
    border-top-color: #6B7280;
}
@keyframes mr-spin { to { transform: rotate(360deg); } }

/* ── Notices ──────────────────────────────────────────────── */
.mr-sr-notice {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    color: #374151;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
}
.mr-sr-error {
    background: #FFF5F5;
    border-color: #FC8181;
    color: #C53030;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 480px) {
    .mr-sr-wrap { padding: 20px 16px; border-radius: 12px; }
    .mr-sr-link-row { flex-direction: column; align-items: stretch; }
    .mr-sr-btn-copy { width: 100%; justify-content: center; }
}
