.product-create-page {
    padding: 20px 0;
}

.product-create-page .card {
   border: none;
   padding: 0px !important;
}

.title{
    font-size: 26px;
    line-height: 30px;
    font-weight: 600;
    color:#0A0D14;
    margin-bottom: 30px;
}

.dynamic-content{
    padding: 20px;
    box-shadow: 0px 4px 21px 0px #0000000F;
    background: #FFFFFF;
    border-radius: 20px;
}

.dynamic-content .head{
    padding:16px 20px;
    border-radius: 2px;
    border-left: 4px solid #FA3A4D;
    margin-bottom: 20px;
}

.dynamic-content .head h4{
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    color:#0A0D14;
    margin: 0;
}

.uploaded-image-box {
    width: 100%;
    background: #F8F8F8;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 24px;
}

.upload-area {
    width: 100%;
    min-height: 250px;
    border: 1.5px dashed #cfd5dd;
    border-radius: 18px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.upload-area:hover {
    border-color: #20c997;
    background: #fbfffd;
}

.upload-content {
    text-align: center;
    pointer-events: auto;
}

.upload-icon {
    color: #20c997;
    font-size: 26px;
    margin-bottom: 14px;
}

.upload-content h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #20c997;
}

.upload-content p {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 400;
    color: #8a94a6;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #e2e6ea;
    background: #ffffff;
    color: #4b5563;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: all 0.25s ease;
    pointer-events: auto;
}

.upload-btn:hover {
    color: #20c997;
    border-color: #20c997;
    box-shadow: 0 6px 16px rgba(32, 201, 151, 0.16);
}

.img_load {
    display: none;
}


.result_photos {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
}

.result_photos > div,
.result_photos > * {
    position: relative;
    width: 170px;
    min-height: 205px;
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
    overflow: visible;
}

.result_photos > div:hover,
.result_photos > *:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    border-color: #27c79a;
}

.result_photos > div a,
.result_photos > div button,
.result_photos > * a,
.result_photos > * button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f2f5f8;
    color: #7b8794;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    cursor: pointer;
}

.result_photos > div a:hover,
.result_photos > div button:hover,
.result_photos > * a:hover,
.result_photos > * button:hover {
    background: #27c79a;
    color: #fff;
    transform: scale(1.07);
}

.result_photos i {
    font-size: 16px;
    line-height: 1;
}

.result_photos img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    display: block;
    margin-top: 2px;
    background: #f8fafc;
}

.order-of-temp-images {
    position: absolute !important;
    left: 12px !important;
    bottom: -12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #27c79a, #1faa80) !important;
    box-shadow: 0 8px 18px rgba(39, 199, 154, 0.28);
    white-space: nowrap;
}

.result_photos > div:first-child,
.result_photos > *:first-child {
    border-color: #27c79a;
    box-shadow: 0 10px 28px rgba(39, 199, 154, 0.14);
}

.result_photos .image,
.result_photos .thumb,
.result_photos .preview,
.result_photos .photo-item {
    border-radius: 14px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .result_photos {
        gap: 14px;
    }

    .result_photos > div,
    .result_photos > * {
        width: 145px;
        min-height: 190px;
        padding: 10px;
    }

    .result_photos img {
        height: 120px;
    }

    .result_photos > div a,
    .result_photos > div button,
    .result_photos > * a,
    .result_photos > * button {
        width: 32px;
        height: 32px;
        margin-right: 6px;
    }

    .order-of-temp-images {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }
}




.product-create-page label {
    color: #0A0D14;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 4px;
}

.product-create-page .form-control,
.product-create-page .form-select,
.modern-input,
.modern-select {
    width: 100%;
    height: 40px;
    padding: 10px;
    background: #F6F8FA;
    border: none;
    border-radius: 10px;
}

.product-create-page .form-control::placeholder,
.modern-input::placeholder {
    color:#868C98;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 0.6%;
}

.upload-content {
    text-align: center;
    pointer-events: auto;
}



.color-field {
    width: 100%;
    min-height: 40px;
    border: 1px solid #dfe3ea;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.color-field:focus-within {
    border-color: #375DFB;
    box-shadow: 0 0 0 4px rgba(55, 93, 251, 0.10);
}

.color-picker-input {
    width: 28px;
    height: 28px;
    border: none;
    padding: 0;
    border-radius: 7px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
}

.color-picker-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-input::-webkit-color-swatch {
    border: none;
    border-radius: 7px;
}

.color-picker-input::-moz-color-swatch {
    border: none;
    border-radius: 7px;
}

.color-hex-input {
    flex: 1;
    border: none;
    outline: none;
    min-width: 0;
    font-size: 16px;
    font-weight: 500;
    color: #0A0D14;
    background: transparent;
}

.color-wheel-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.color-wheel {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: block;
    background: conic-gradient(
        #ff3b30,
        #ffcc00,
        #34c759,
        #00c7be,
        #007aff,
        #5856d6,
        #ff2d55,
        #ff3b30
    );
    position: relative;
}

.color-wheel::after {
    content: "";
    position: absolute;
    inset: 7px;
    background: #ffffff;
    border-radius: 50%;
}



.info-input-field {
    position: relative;
}

.info-input-field .modern-input {
    padding-right: 52px;
}

.info-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #375DFB;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}


.product-map {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.address-search-wrapper {
    width: 100%;
}

.address-search-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.address-search-box .modern-input {
    flex: 1;
}

.address-search-results {
    margin-top: 10px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
}

#description{
    height: 108px;
    resize: none;
    background: #fff;
    border: 1px solid var(--stroke-soft-200, #E2E4E9)
}

#bg-white {
    background: #fff;
    border: 1px solid var(--stroke-soft-200, #E2E4E9)

}

.address-result-item {
    width: 100%;
    border: none;
    background: #ffffff;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #eef1f5;
    transition: all 0.2s ease;
}

.address-result-item:hover {
    background: #f5f7ff;
}

.address-result-title {
    display: block;
    color: #0A0D14;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.address-result-loading,
.address-result-empty {
    padding: 14px 16px;
    color: #8B95A5;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .address-search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .address-search-btn {
        width: 100%;
        justify-content: center;
    }

    .product-map {
        height: 320px;
    }
}


.create-product-footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.create-product-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.create-product-footer__left {
    flex: 1 1 auto;
    min-width: 280px;
}

.create-product-footer__right {
    flex: 0 0 auto;
}

.terms-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.terms-check input {
    display: none;
}

.terms-check__box {
    width: 22px;
    height: 22px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    position: relative;
    flex: 0 0 auto;
    transition: all 0.2s ease;
}

.terms-check__box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.18s ease;
}

.terms-check input:checked + .terms-check__box {
    background: #3b82f6;
    border-color: #3b82f6;
}

.terms-check input:checked + .terms-check__box::after {
    transform: rotate(45deg) scale(1);
}

.terms-check__text {
    font-size: 14px;
    line-height:  20px;
    color: #0A0D14;
    font-weight: 600;
}

.terms-check__text a {
    color: #375DFB;
    font-weight: 600;
    text-decoration: none;
}

.terms-check__text a:hover {
    text-decoration: underline;
}

.create-product-btn {
    border: none;
    min-width: 150px;
    height: 40px;
    padding: 10px 15px;
    border-radius: 30px;
    background: linear-gradient(90deg, #1E38FF 0%, #57E395 100%);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    box-shadow: 0px 1px 2px 0px #375DFB14;
    transition: all 0.2s ease;
    cursor: pointer;
}

.create-product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(49, 86, 245, 0.28);
}

.create-product-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.create-product-btn__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .create-product-footer__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .create-product-footer__right {
        width: 100%;
    }

    .create-product-btn {
        width: 100%;
        min-width: 100%;
    }

    .terms-check__text {
        font-size: 16px;
    }
}

.product-create-page select.form-select,
.product-create-page select.modern-select,
.product-create-page .modern-select {
    min-height: 40px;
    border: 1px solid #dfe3ea;
    background-color: #ffffff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 14px 8px !important;
    padding: 10px 45px 10px 14px !important;
    cursor: pointer;
}

.product-create-page select.form-select:focus,
.product-create-page select.modern-select:focus,
.product-create-page .modern-select:focus {
    border-color: #375DFB;
    box-shadow: 0 0 0 4px rgba(55, 93, 251, 0.10);
    outline: none;
}

.product-create-page select.form-select::-ms-expand,
.product-create-page select.modern-select::-ms-expand,
.product-create-page .modern-select::-ms-expand {
    display: none;
}

.order-of-temp-images--main {
    background: linear-gradient(135deg, #27c79a, #1faa80) !important;
    box-shadow: 0 8px 18px rgba(39, 199, 154, 0.28) !important;
}

.order-of-temp-images--secondary {
    background: linear-gradient(135deg, #8b97a8, #6b7280) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16) !important;
}
