/* ===== یارسا فرم استایل (با Dashicons) ===== */

.yarsa-form-container {
    background: #ffffff;
    max-width: 780px;
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    padding: 40px 35px;
    margin: 20px auto;
    box-sizing: border-box;
}

.yarsa-progress-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}
.yarsa-progress-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #dce1e8;
    transform: translateY(-50%);
    z-index: 0;
}
.yarsa-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    background: #fff;
    padding: 0 10px;
}
.yarsa-step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #dce1e8;
    color: #7a8a9e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 3px solid transparent;
    margin-bottom: 6px;
}
.yarsa-step-circle.active {
    background-color: #577090;
    color: #fff;
    border-color: #c05530;
    box-shadow: 0 0 0 4px rgba(192, 85, 48, 0.2);
}
.yarsa-step-circle.done {
    background-color: #728a59;
    color: #fff;
}
.yarsa-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #7a8a9e;
    letter-spacing: 0.3px;
}
.yarsa-step-label.active {
    color: #577090;
}

.yarsa-step-content {
    display: none;
    animation: yarsaFadeIn 0.35s ease;
}
.yarsa-step-content.active {
    display: block;
}
@keyframes yarsaFadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}
.yarsa-step-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.yarsa-step-title .dashicons {
    color: #c05530;
    font-size: 28px;
    width: 28px;
    height: 28px;
}
.yarsa-step-desc {
    color: #6b7a8b;
    margin-bottom: 28px;
    font-size: 0.95rem;
    border-right: 4px solid #728a59;
    padding-right: 16px;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
}

.yarsa-form-group {
    margin-bottom: 24px;
}
.yarsa-form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.yarsa-form-group label .dashicons {
    color: #c05530;
    margin-left: 8px;
}
.yarsa-form-group input,
.yarsa-form-group select,
.yarsa-form-group textarea {
    width: 100%;
	padding: 5px 10px !important;
	
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: 0.25s;
    background: #fafcff;
    font-family: inherit;
    box-sizing: border-box;
}
.yarsa-form-group input:focus,
.yarsa-form-group select:focus,
.yarsa-form-group textarea:focus {
    border-color: #577090;
    outline: none;
    box-shadow: 0 0 0 4px rgba(87,112,144,0.15);
}
.yarsa-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.yarsa-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 6px;
}
.yarsa-service-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
}
.yarsa-service-card .dashicons {
    font-size: 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
    color: #577090;
    transition: 0.2s;
}
.yarsa-service-card:hover {
    border-color: #728a59;
    transform: translateY(-3px);
    background: #f0f5ee;
}
.yarsa-service-card.selected {
    border-color: #c05530;
    background: #fff4f0;
    box-shadow: 0 4px 12px rgba(192,85,48,0.15);
}
.yarsa-service-card.selected .dashicons {
    color: #c05530;
}
.yarsa-service-card input[type="checkbox"] {
    display: none;
}

.yarsa-conditional-questions {
    background: #f8fafc;
    border-radius: 18px;
    padding: 20px 22px;
    margin-top: 20px;
    border-right: 5px solid #728a59;
}

.yarsa-btn-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.yarsa-btn {
    padding: 14px 34px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e2e8f0;
    color: #2c3e50;
}
.yarsa-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.yarsa-btn-primary {
    background: #577090;
    color: #fff;
}
.yarsa-btn-primary:hover {
    background: #3e5a75;
}
.yarsa-btn-success {
    background: #728a59;
    color: #fff;
}
.yarsa-btn-success:hover {
    background: #5c7247;
}
.yarsa-btn-outline {
    background: transparent;
    border: 2px solid #c05530;
    color: #c05530;
}
.yarsa-btn-outline:hover {
    background: #c05530;
    color: #fff;
}
.yarsa-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.yarsa-result-box {
    background: linear-gradient(145deg, #f5faf5, #edf4ed);
    border-radius: 24px;
    padding: 30px 28px;
    border: 1px solid #c8dcc8;
    text-align: center;
}
.yarsa-result-box .big-icon .dashicons {
    font-size: 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
    color: #728a59;
}
.yarsa-result-box h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 16px;
}
.yarsa-result-box .message-box {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 18px;
    border-right: 6px solid #577090;
    text-align: right;
    margin: 16px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
	text-align: justify;
}
.yarsa-result-box .message-box p {
    color: #3d4f5e;
    line-height: 1.9;
    font-size: 1.05rem;
}
.yarsa-result-box .service-tag {
    display: inline-block;
    background: #577090;
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 3px;
}
.yarsa-result-box .service-tag.alt {
    background: #728a59;
}

.yarsa-btn-back-home {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 44px;
    background: transparent;
    color: #577090;
    border: 2px solid #577090;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.25s;
    cursor: pointer;
}
.yarsa-btn-back-home .dashicons {
    margin-left: 8px;
    color: #c05530;
    transition: 0.25s;
}
.yarsa-btn-back-home:hover {
    background: #577090;
    color: #fff;
    border-color: #577090;
}
.yarsa-btn-back-home:hover .dashicons {
    color: #fff;
}

@media (max-width: 600px) {
    .yarsa-form-container { padding: 24px 16px; }
    .yarsa-step-title { font-size: 1.3rem; }
    .yarsa-service-grid { grid-template-columns: 1fr 1fr; }
    .yarsa-btn-row { flex-direction: column; }
    .yarsa-btn { justify-content: center; }
    .yarsa-step-label { font-size: 0.6rem; }
}