/* استایل کارت فرم */
.form-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* استایل ورودی‌ها */
.custom-input {
	margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    padding: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* استایل دکمه‌ها */
.custom-btn {
    background-color: #007bff;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease;
}
select#rpa_cart_category {
    border-radius: 10px;
    margin-bottom: 10px;
}
.custom-btn:hover {
    background-color: #0056b3;
}
div#step-2 {
    margin-top: 15px;
}
div#step-3 {
    margin-top: 15px;
}
/* استایل جدول */
table.table {
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
}

table.table td {
    padding: 8px;
}

table.table tr td:first-child {
    font-weight: bold;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .form-card {
        padding: 15px;
    }

    .custom-btn {
        font-size: 14px;
    }

    .custom-input {
        font-size: 13px;
    }
}
/* استایل لودر */
/* لودر فرم */
#form-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 10;
    backdrop-filter: blur(5px);
}

#form-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

#form-loading-spinner p {
    margin-top: 10px;
}

/* فرم باید دارای position: relative باشد */
#rpa-cart-others-form {
    position: relative;
}
#form-loading-overlay-sub {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    z-index: 10;
    backdrop-filter: blur(5px);
}

#form-loading-spinner-sub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

#form-loading-spinner-sub p {
    margin-top: 10px;
}

/* فرم باید دارای position: relative باشد */
#rpa-cart-others-form-sub {
    position: relative;
}
