

.dateTime {
    display: none;
}





.title {
            color: #000;
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .dateTime{
            margin-right: 400px;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;                
            padding: 40px 20px;
            display: flex;
            flex-direction: row;
            justify-content: center;       
            align-items: flex-start;        
            gap: 40px;                     
        }
        
        .form-wrapper {
            background: white;
            /* width: 90%; */
            max-width: 520px;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
            text-align: center;
            display: flex;
            flex-direction: column;
            max-width: 650px;
            width: 100%;
        }
        
        .subtitle {
	    margin-top: 0px;
	    border: 1px solid #009312;
    	    background: #3aff0024;
    	    padding: 15px;
    	    border-radius: 10px;
            font-size: 14px;
            margin-bottom: 20px;
        }
        
        /* ستون مراحل سمت راست (دایره‌ای) */
        .steps {
            display: flex;
            flex-direction: column;
            gap: 15px;
            justify-content: space-between;

            margin-bottom: 30px;
            min-width: 70px;
        }
        
        .step {
            width: 110px;
            height: 40px;
            background: #e6e6e6;
            border-radius: 50%;
            font-size: 14px;
            padding-top: 6px;
            line-height: 20px;
        }
        
        .step span {
            font-size: 11px;
        }
        
        /* مرحله فعال */
        .step.active {
            background: #d0d0d0;
        }
        
        .step.completed {
            background: #b2f0c0;
        }
        
        /* فرم چندمرحله‌ای */
        
        form {
            flex: 1;
        }
        
        .form-step {
            display: none;
        }
        
        .form-step.active {
            display: block;
        }
        
        label {
            display: block;
            text-align: right;
            margin-bottom:11px;
            font-weight: 500;
        }
        
        .required {
            color: red;
        }
        
        input {
            width: 85%;
            padding: 12px;
            border-radius: 6px;
            border: 1px solid #ddd;
            margin-bottom: 20px;
        }
        
        .select-box {
            width: 100% !important;
            padding: 0px 8px;
            height: 40px !important;
            position: relative;
            margin-bottom: 25px;
            width: 85%;
            height: 35px;
        }
        
        .select-box::after {
            content: "▾";
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
            color: #4a4a4a;
            pointer-events: none;
        }
        
        .option {
            margin-bottom: 18px;
        }
        
        .option label {
            display: flex;
            align-items: center;
            gap: 10px; 
            cursor: pointer;
        }
        
        .option input[type="radio"] {
            width: 15px;
            height: 15px;
            margin: 0px;
        }
        
        .btn {
            background: #0fcd55;
            color: white;
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }
        
        .btn:hover {
            background: #09983e;
        }
        
        /* پیام خطا */
        .error-message {
            color: red;
            margin-top: -10px;
            margin-bottom: 10px;
            font-size: 13px;
            min-height: 18px;
        }
        
        /* آپلود عکس داخل خودرو */
        .upload-car-inside {
            direction: rtl;
            text-align: right;
            margin-bottom: 1.5rem;
        }
        
        .upload-label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .upload-input {
            display: block;
            width: 100%;
            margin-top: 0.5rem;
        }
        
        .upload-help {
            font-size: 0.9rem;
            margin-top: 0.75rem;
            line-height: 1.8;
            color: #555;
        }
        
        .upload-box {
            border: 1px dashed #ccc;
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            cursor: pointer;
        }
        
        .upload-text {
            font-size: 0.9rem;
            font-weight: 500;
        }
        
        .upload-subtext {
            font-size: 0.8rem;
            color: #777;
        }
        
        /* دکمه‌ها */
        
        button {
            padding: 8px 16px;
            margin-top: 10px;
            border: none;
            background: #4e73df;
            color: #fff;
            border-radius: 5px;
            cursor: pointer;
            font-family: inherit;
            font-size: 14px;
        }
        
        button:hover {
            background: #3a5dbc;
        }
        
        .next-btn{
            background: #4e73df;
            color: white;
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }
        
        .next-btn:hover{
            background: #3a5dbc;
        }
        
        .prev-btn {
            background: #888;
            margin-left: 8px;
            color: white;
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }
        
        .prev-btn:hover {
            background: #666;
        }
        
        .step {
            background: #f9fafb;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 13px;
            text-align: right;
            color: #111827;
            box-shadow: 0 4px 10px rgba(15,23,42,0.04);
            transition:
                background 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                color 0.2s ease;
        }
        
        .step span {
            display: block;
            font-weight: 600;
        }
        
        /* مرحلهٔ در حال انجام → نارنجی */
        .step.active {
            background: #fff7ed;
            border-color: #f97316;
            box-shadow: 0 0 0 1px rgba(249,115,22,0.25);
            color: #c2410c;
        }
        
        /* مرحله انجام‌شده → سبز */
        .step.completed {
            background: #e7f8ef;
            border-color: #22c55e;
            box-shadow: 0 0 0 1px rgba(34,197,94,0.25);
            color: #166534;
        }
        
        /* مراحل بعدی → طوسی */
        .step:not(.active):not(.completed) {
            color: #6b7280;
        }
        
        /* باکس فرم سمت چپ */
        .form-wrapper {
            background: #ffffff;
            width: 100%;
            max-width: 520px;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            text-align: right;
        }
        
        
        
        
        
        

@media (max-width: 768px) {
    .container {
        padding: 30px 0px;
        max-width: 700px;
        flex-direction: column;
        align-items: center;
    }
    .over-cus {
    width: 100%;
    overflow-x: auto;
  white-space: nowrap;
  
      overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;  /* IE و Edge */
    scrollbar-width: none;     /* فایرفاکس */
    white-space: nowrap;
}     
.over-cus::-webkit-scrollbar {
    display: none; /* Chrome و Safari */
}
    .steps {
        display: flex;
        margin-left: 0;
        width: 100%;
        max-width: 200px;
        flex-direction: row;
        min-width: 480px !important;
        margin-bottom: 0;
    }
            
    .form-wrapper {
        max-width: 500px;
    }
            
    input, .select-box {
        width: 95%;
    }
}


form#multiStepForm {
    margin-bottom: 0px;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    font-size: 0.95rem;
    transition: border-color 0.3s 
ease;
    margin-bottom: 20px;
}


.multi-upload-box {
    width: 100%;
}

.upload-title {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.upload-area {
    width: 100%;
    border: 2px dashed #008031;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    color: #008031;
    display: block;
}

.preview-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.preview-item {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #ccc;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    background: red;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    line-height: 20px;
}
 

/* استایل گروپ کردن اینپوت و دکمه */
.otp-input-group {
    display: flex;
    align-items: stretch;
    direction: rtl; /* جهت راست‌چین */
    margin-bottom: 10px;
}

.otp-input-group input {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 0 !important;
    margin: 0 !important;
    flex-grow: 1; /* پر کردن فضای خالی */
}

.otp-input-group button {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin: 0 !important;
    white-space: nowrap; /* جلوگیری از شکستن متن دکمه */
}

/* استایل تایمر و لینک ارسال مجدد */
.otp-footer {
    font-size: 13px;
    color: #666;
    text-align: right;
    margin-top: 8px;
}

#resend-otp-link {
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
}

#resend-otp-link:hover {
    text-decoration: none;
}