

#productForm {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* color: black; */
    font-weight: bold;
    color: #555;
}


/* Form Group Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease-in-out;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Radio Button Group Styling */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.radio-group input {
    margin-right: 10px;
}

.radio-group label {
    font-weight: normal;
    color: #555;
}

.radio-group div {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
button {
    padding: 12px 20px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.cancel_button button {
    background: #f44336;
    color: white;
    margin-top: 10px;
    width: 100%;
}

.cancel_button button:hover {
    background: #d32f2f;
}

.submit_button button {
    background: #007bff;
    color: white;
    margin-top: 10px;
    width: 100%;
}

.submit_button button:hover {
    background: #0056b3;
}

.prodf{
    width: 300px;
    padding: 10px;
    color: #706f6f;
    font-size: 14px;
    font-weight: bold;
}


/* General form container styles */
.prod-form-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Title styling */
.prod-form-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

/* Field group styles */
.prod-form-field-group,
.prod_gst,
.prod_max,
.prod_length,
.prod_breadth,
.prod_height,
.prod_weight,
.prod_return,
.prod_manufactured,
.prod_instructions,
.prod_veg,
.prod_returnable,
.prod_cancellable,
.prod_cod,
.prod_manufacturer,
.prod_manufacturer_address,
.prod_generic_name,
.prod_month_year,
.prod_fulfilment,
.prod_unit_major,
.prod_uom_value,
.prod_sku,
.prod_images,
.prod_back_image,
.submit_button {
    margin-bottom: 15px;
}

/* Label styles */
.prod-form-label {
    display: block;
    font-weight: bold;
    color: #555555;
    margin-bottom: 8px;
}

/* Input, textarea, and select styles */
.prod-form-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.prod-form-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

/* Error message styles */
.prod-form-error-msg {
    font-size: 14px;
    color: red;
    margin-top: 5px;
}

/* Submit button styles */
.prod-form-submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prod-form-submit-btn:hover {
    background-color: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .prod-form-container {
        padding: 15px;
    }

    .prod-form-title {
        font-size: 20px;
    }

    .prod-form-input {
        font-size: 14px;
    }

    .prod-form-submit-btn {
        font-size: 14px;
        padding: 10px;
    }
}
.prod-form-label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.image-list {
    margin-top: 10px;
}

.image-list div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.image-list .file-details {
    margin-left: 10px;
    flex-grow: 1;
}

.image-list .delete-icon {
    margin-left: 10px;
    cursor: pointer;
    color: red;
    font-weight: bold;
    font-size: 1.2em;
}
     .image-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .image-item {
            position: relative;
            display: inline-block;
        }
        .image-item img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .delete-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background-color: red;
            color: white;
            border: none;
            border-radius: 50%;
            width: 5px;
            /* height: 20px; */
            cursor: pointer;
            font-size: 7px;
            padding: 4px 9px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .image-count {
            margin-top: 10px;
            font-weight: bold;
        }

/*========== RESPONSIVE SELLER ADD PRODUCT ==========*/
@media (max-width: 768px) {
  #productForm {
    max-width: 100%;
    padding: 20px;
    margin: 10px;
  }
  .prodf {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #productForm {
    padding: 15px;
  }
  .image-preview .image-item img {
    width: 70px;
    height: 70px;
  }
}