/* استایل‌های فرم مشاوره - ساده */
.nosh-consultation-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.nosh-consultation-form {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.nosh-form-group {
    margin-bottom: 15px;
}

.nosh-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.nosh-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.nosh-required {
    color: red;
}

.nosh-consultation-price {
    margin: 15px 0;
    font-size: 18px;
    color: green;
    text-align: center;
}

.nosh-btn {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.nosh-btn:hover {
    background: #218838;
}

.nosh-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.nosh-loading {
    text-align: center;
    color: #007cba;
    display: none;
}

#nosh-otp-step {
    display: none;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    direction: rtl;
}

.nosh-otp-inner {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 0 auto;
    direction: rtl;
}

.nosh-otp-inner h3 {
    margin-bottom: 20px;
    color: #333;
}

.nosh-otp-inner p {
    margin-bottom: 15px;
}

#nosh-otp-code {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 18px;
    box-sizing: border-box;
}

#nosh-otp-error {
    color: red;
    display: none;
    margin: 5px 0;
    font-size: 14px;
    text-align: right;
}

#nosh-verify-otp {
    width: 100%;
    padding: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0;
}

.nosh-otp-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 4px;
}

#nosh-resend-otp {
    flex: 1 1 48%;
    padding: 10px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
    margin: 0 1% 5px 0;
}

#nosh-resend-otp:not(:disabled) {
    background: #007cba;
    cursor: pointer;
}

#nosh-edit-form {
    flex: 1 1 48%;
    padding: 10px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 0 5px 1%;
}

#nosh-timer-display {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

#nosh-phone-warning {
    color: red;
    font-size: 12px;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nosh-loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.nosh-overlay {
    font-family: inherit;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    z-index: 500; /* خیلی کم برای عدم تداخل */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.nosh-overlay .nosh-overlay-inner {
    pointer-events: all;
    text-align: center;
    max-width: 400px;
    padding: 20px;
}

.nosh-overlay h3 {
    color: #333;
    margin-bottom: 10px;
    font-family: inherit;
}

.nosh-overlay p {
    color: #555;
    margin-bottom: 20px;
    font-family: inherit;
}

.nosh-hr {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to center, transparent, #000, #000);
}

.nosh-price-box {
    background: green;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-family: inherit;
}

.nosh-price-box p {
    margin: 0;
    color: white;
    font-weight: bold;
}

@media (max-width: 480px) {
    .nosh-consultation-wrapper {
        padding: 0 10px;
    }
    
    .nosh-otp-inner {
        width: 95vw;
        padding: 5vw;
        max-width: none;
    }
    
    #nosh-resend-otp,
    #nosh-edit-form {
        flex: 1 1 100%;
        margin: 2% 0;
    }
}