.erma-proposal-panel {
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    margin: 16px 0
}

.erma-upload-status {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #475467
}

.erma-account-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center
}

.erma-inline-note {
    font-size: 12px;
    background: #f4f4f5;
    padding: 5px 8px;
    border-radius: 999px;
    color: #52525b;
    display: inline-block
}

.erma-proposal-box {
    margin-top: 8px;
    padding: 10px;
    border: 1px dashed #d4d4d8;
    border-radius: 10px;
    background: #fff
}

.erma-finder {
    --erma-bg: #f8f5ee;
    --erma-card: #fff;
    --erma-border: #eadfca;
    --erma-title: #0f172a;
    --erma-text: #6b7280;
    --erma-accent: #d1ad61;
    --erma-accent-soft: #f7edd8;
    width: 100%;
    background:#fff;
    max-width: 100%;
    border: 1px solid var(--erma-border);
    border-radius: 18px;
    padding: 22px;
    font-family: 'Yekan_Bakh', "Yekan Bakh", "IRANSansX", Tahoma, sans-serif;
}

.erma-finder,
.erma-finder * {
    font-family: 'Yekan_Bakh', "Yekan Bakh", "IRANSansX", Tahoma, sans-serif;
}

.erma-finder-head {
    margin-bottom: 14px
}

.erma-kicker {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f7edd8;
    color: #7a5b20;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px
}

.erma-finder-head h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.25;
    color: var(--erma-title);
    font-weight: 800
}

.erma-finder-head p {
    margin: 0;
    color: var(--erma-text);
    font-size: 14px
}

.erma-finder-controls {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
    align-items: start
}

.erma-step {
    background: var(--erma-card);
    border: 1px solid var(--erma-border);
    border-radius: 14px;
    padding: 14px
}

.erma-step-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 10px
}

.erma-step-title:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--erma-accent)
}

.erma-inline-calendar {
    min-height: 300px
}

.erma-cal {
    border: 1px solid #edf2f7;
    border-radius: 12px;
    background: #fff;
    padding: 10px
}

.erma-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.erma-cal-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 14px
}

.erma-cal-nav {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    transition: .15s
}

.erma-cal-nav:hover {
    background: #f9f5ea;
    border-color: #d8c290
}

.erma-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px
}

.erma-cal-week span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    font-size: 12px;
    color: #64748b;
    font-weight: 700
}

.erma-cal-day {
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #1e293b;
    font-size: 13px;
    cursor: pointer;
    transition: .15s
}

.erma-cal-day:hover {
    background: #f8f2e4;
    border-color: #dfc48d;
    color: #7a5b20
}

.erma-cal-day.is-in-range {
    background: #fbf2df;
    border-color: #ead6ac;
    color: #7a5b20
}

.erma-cal-day.is-start,
.erma-cal-day.is-end {
    background: var(--erma-accent);
    border-color: var(--erma-accent);
    color: #fff;
    box-shadow: 0 8px 16px rgba(209, 173, 97, .38)
}

.erma-cal-day.is-empty {
    visibility: hidden;
    pointer-events: none
}

.erma-selected-value {
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--erma-accent-soft);
    border: 1px solid #ead6ac;
    border-radius: 10px;
    font-size: 13px;
    color: #7a5b20;
    font-weight: 700
}

.erma-city-map-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 10px;
    background: #fff
}

.erma-city-map {
    width: 100%;
    min-height: 360px;
    display: block
}

.erma-city-map svg {
    width: 100%;
    height: auto;
    display: block
}

.erma-city-map #provinces path {
    fill: #ece5d6;
    stroke: #baa67b;
    stroke-width: 1.1;
    cursor: pointer;
    transition: all .18s ease
}

.erma-city-map #provinces path:hover {
    fill: #dcc59a;
    transform: translateY(-1px)
}

.erma-city-map #provinces path.is-active {
    fill: #d1ad61;
    stroke: #b88e39;
    stroke-width: 1.2;
    filter: drop-shadow(0 8px 12px rgba(209, 173, 97, .35))
}

.erma-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    background: #fff
}

.erma-step-city select {
    width: 100%;
    height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 0 12px;
    background: #fff;
    color: #0f172a;
    outline: none
}

.erma-step-city select:focus {
    border-color: #d1ad61;
    box-shadow: 0 0 0 4px rgba(209, 173, 97, .2)
}

.erma-step-city select:disabled {
    background: #f8fafc;
    color: #94a3b8
}

.erma-finder-result {
    margin-top: 14px;
    position: relative;
    min-height: 40px
}

.erma-finder-result.is-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .65);
    border-radius: 10px
}

.erma-finder-loading {
    margin-top: 8px;
    color: #7a5b20;
    font-weight: 700;
    font-size: 13px
}

.erma-event-card {
    border: 1px solid #eadfca;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all .2s ease;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .04)
}

.erma-event-card:hover {
    transform: translateY(-3px);
    border-color: #d9bf8a;
    box-shadow: 0 14px 24px rgba(43, 33, 16, .12)
}

.erma-event-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5
}

.erma-event-title a {
    color: #1f2937;
    text-decoration: none
}

.erma-event-title a:hover {
    color: #7a5b20
}

.erma-event-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.erma-meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #efdfbf;
    background: #fcf6e8;
    color: #7a5b20;
    font-size: 12px;
    font-weight: 600
}

.erma-event-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: #d1ad61;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700
}

.erma-event-link:hover {
    background: #bb9648
}

.erma-no-result {
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    background: #fff
}

@media(max-width:980px) {
    .erma-finder-controls {
        grid-template-columns: 1fr
    }
}