.add-product-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
}

.add-product-form form p {
    margin-bottom: 20px;
}

.add-product-form label,
.apf-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.add-product-form input[type="text"],
.add-product-form input[type="number"],
.add-product-form textarea,
.add-product-form select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.add-product-form input:focus,
.add-product-form textarea:focus,
.add-product-form select:focus {
    border-color: #00b894;
    outline: none;
}

.apf-file {
    margin-top: 10px;
}

.add-product-form .checkbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.add-product-form .checkbox-tags label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f3f3f3;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.apf-submit {
    background-color: #00b894;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.apf-submit:hover {
    background-color: #01856b;
}

.apf-submit:active {
    transform: scale(0.97);
}
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
    cursor: pointer;
}

.preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn-new-product {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #ff6b6b;
    color: white;
    font-size: 16px;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.image-modal-new-product {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content-img-new-product {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.close-modal-new-product {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close-modal-new-product:hover {
    color: #ff6b6b;
}
@media screen and (max-width: 768px) {
    .add-product-form {
        max-width: 768px;
        margin: 0px auto;
        padding: 30px;
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        font-family: Arial, sans-serif;
    }
