:root {
    --primary: #57b1ac;
    --primary-dark: #3a8f8a;
    --primary-soft: #e6f6f5;
}
* {
    box-sizing: border-box;
}
body {
    font-family: "Kalameh", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    direction: rtl;
    text-align: right;
    background:
        radial-gradient(circle at top right, rgba(87,177,172,0.32), transparent 55%),
        radial-gradient(circle at bottom left, rgba(87,177,172,0.22), transparent 55%),
        linear-gradient(135deg, #eef7f6, #f9fbfc);
}
.shell {
    max-width: 960px;
    width: 100%;
    backdrop-filter: blur(6px);
}
.brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    color: #1f2933;
    padding: 0 4px;
}
.brand-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(87,177,172,0.12);
    border: 1px solid rgba(87,177,172,0.28);
    color: #0f766e;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.15s ease;
}
.back-link:hover {
    background: rgba(87,177,172,0.2);
    border-color: rgba(87,177,172,0.4);
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.18);
    transform: translateY(-1px);
}
.back-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.14);
}
.side-footer {
    margin-top: 16px;
    text-align: right;
}
.side-panel .back-link {
    background: rgba(15,23,42,0.12);
    border-color: rgba(255,255,255,0.45);
    color: #f9fafb;
}
.side-panel .back-link:hover {
    background: rgba(15,23,42,0.2);
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 8px 18px rgba(15,23,42,0.25);
}
.brand-title {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-dark);
}
.brand-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(87,177,172,0.12);
    border: 1px solid rgba(87,177,172,0.24);
    font-size: 0.75rem;
    color: #0b7285;
}
.container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow:
        0 22px 55px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(87,177,172,0.20);
    padding: 26px 22px 24px;
    position: relative;
    overflow: hidden;
}
.container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(87,177,172,0.12), transparent 40%);
    pointer-events: none;
}
.header {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}
h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #0f172a;
    letter-spacing: -0.03em;
}
p.lead {
    margin: 6px 0 0;
    color: #4b5563;
    font-size: 0.92rem;
}
.tagline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.03);
    font-size: 0.8rem;
    color: #64748b;
}
.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #facc15, #f97316);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.22);
}
.content {
    position: relative;
    z-index: 1;
    margin-top: 12px;
}
.layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}
.field-group {
    margin-bottom: 14px;
}
.field {
    margin-bottom: 12px;
}
.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 0.9rem;
}
.field span.hint {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 3px;
}
input[type="text"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #d0d7e2;
    font-size: 0.92rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    background: #f9fafb;
}
input[type="file"] {
    font-size: 0.9rem;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(87,177,172,0.45);
}
textarea {
    resize: vertical;
    min-height: 115px;
}
.required {
    color: #dc2626;
    margin-right: 4px;
}
.btn-row {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.92rem;
    box-shadow: 0 10px 22px rgba(13, 148, 136, 0.28);
    letter-spacing: -0.01em;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease,
        border-color 0.12s ease;
}
.btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 26px rgba(13, 148, 136, 0.36);
    transform: translateY(-1.5px);
    border-color: rgba(255,255,255,0.4);
}
.btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.26);
}
.btn-sub {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 4px;
}
.alert {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    border: 1px solid transparent;
}
.alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
.alert-success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}
ul.error-list {
    margin: 4px 0 0;
    padding-right: 18px;
}
.side-panel {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    padding: 16px 16px 14px;
    color: #ecfeff;
    position: relative;
    overflow: hidden;
}
.side-panel::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 40%;
    border: 18px solid rgba(255,255,255,0.18);
    top: -120px;
    inset-inline-end: -80px;
    filter: blur(0.2px);
}
.side-panel::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 40%;
    border: 12px solid rgba(255,255,255,0.18);
    bottom: -70px;
    inset-inline-start: -40px;
}
.side-content {
    position: relative;
    z-index: 1;
}
.side-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 6px;
}
.side-text {
    font-size: 0.86rem;
    line-height: 1.6;
    color: #e0fbfa;
    margin: 0 0 14px;
}
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.chip {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(15,23,42,0.08);
    border: 1px solid rgba(15,23,42,0.15);
    font-size: 0.76rem;
    color: #e0fbfa;
}
.meta {
    font-size: 0.78rem;
    color: #cffafe;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
}
@media (max-width: 800px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .side-panel {
        order: -1;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 20px 16px 18px;
    }
}
.hidden {
    display: none;
}


