.bsm-popup-form-container {
    padding: 30px;
    background-color: #fff;
    border-radius: 8px
}

.info-group {
    margin-bottom: 25px
}

.product-detail h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-align: center
}

.product-detail h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right,#ff5757,#ff8a5b);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)
}

#service-form {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.input-group {
    margin-bottom: 20px
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #8f8f8f;
    font-size: 16px;
    z-index: 2;
    transition: color .3s ease
}

#service-form input:focus+.input-icon,#service-form select:focus+.input-icon,#service-form textarea:focus+.input-icon {
    color: #ff5757
}

#service-form input[type=email],#service-form input[type=number],#service-form input[type=text],#service-form select,#service-form textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    transition: all .3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,.02);
    color: #333;
    background-color: #f9f9f9;
}

#service-form input[type=email]:focus,#service-form input[type=number]:focus,#service-form input[type=text]:focus,#service-form select:focus,#service-form textarea:focus {
    border-color: #ff5757;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255,87,87,.15);
    background-color: #fff;
    transform: translateY(-1px)
}

#service-form input::placeholder {
    color: #aaa;
    font-size: 14px
}

.bsm-input-info {
    display: inline-block;
    margin-top: 0;
    font-size: 14px;
    font-weight: 500;
    color: #ff6b01;
    margin-bottom: 9px;
}

.bsm-input-info a {
    color: #666;
    text-decoration: none;
    border-bottom: 1px dashed #ccc
}

.bsm-input-info a:hover {
    color: #ff5757
}

.package-info select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    padding-right: 40px
}

.bsm-product-summary {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #f0f0f0
}

.bsm-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg,#ff5757 0,#ff8a5b 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255,87,87,.25);
    position: relative;
    overflow: hidden
}

.bsm-submit:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 50%,rgba(255,255,255,0) 100%);
    transition: all .6s ease
}

.bsm-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255,87,87,.35);
    background: linear-gradient(135deg,#ff4747 0,#ff7a4b 100%)
}

.bsm-submit:hover:before {
    left: 100%
}

.bsm-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255,87,87,.2)
}

.bsm-submit img,.bsm-submit svg {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    fill: currentColor
}

.bsm-submit:disabled {
    background: linear-gradient(135deg,#ccc 0,#aaa 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

.bsm-submit:disabled:before {
    display: none
}

.bsm-submit.loading {
    padding-left: 45px
}

.bsm-submit .bsm-spinner-small {
    position: absolute;
    left: 20px
}

.submit-button-container {
    margin-top: 30px
}

.bsm-price-info {
    display: inline-block;
    background: linear-gradient(to right,#43a047,#66bb6a);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,.1)
}

.bsm-popup-api-container {
    background-color: #f5f7fa;
    border-left: 1px solid #e0e0e0
}



.bsm-popup-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center
}

.bsm-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,87,87,.2);
    border-top: 3px solid #ff5757;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.bsm-popup-loader p {
    font-size: 15px;
    color: #666;
    margin: 0
}

.post-info span {
    display: flex;
    align-items: center
}

.post-info svg {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    fill: #999
}

@media (max-width: 768px) {
    .bsm-popup-content {
        flex-direction:column
    }

    .bsm-popup-form-container {
        padding: 20px
    }

    .bsm-popup-api-container {
        border-left: none;
        border-top: 1px solid #e0e0e0
    }

    .product-detail h2 {
        font-size: 20px
    }

    #service-form input[type=email],#service-form input[type=number],#service-form input[type=text],#service-form select,#service-form textarea {
        padding: 12px 15px 12px 38px;
        font-size: 14px
    }
}

.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
    font-family: inherit;
    z-index: 10
}

.dropdown-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,.02);
    position: relative
}

.dropdown-header:hover {
    background-color: #f5f5f5
}

.dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0
}

.dropdown-icon img,.dropdown-icon svg {
    width: 18px;
    height: 18px;
    fill: #8f8f8f;
    flex-shrink: 0
}

.dropdown-header .dropdown-selected {
    flex: 1;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    margin-left: 10px;
    transition: transform .3s ease;
    display: flex;
    align-items: center;
    justify-content: center
}

.dropdown-arrow svg {
    width: 100%;
    height: 100%;
    fill: #8f8f8f;
    margin-right: 0
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg)
}

.dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    z-index: 20;
    display: none;
    padding: 5px 0
}
.dropdown-header .dropdown-selected span.drop-title {
    margin-right: 30px;
}
.custom-dropdown.active .dropdown-list {
    display: block;
    animation: fadeIn .2s ease-out
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.dropdown-list li {
    padding: 12px 15px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #444
}

.dropdown-list li:hover {
    background-color: #f5f7fa
}

.dropdown-list li.selected {
    background-color: #fff4f4;
    color: #ff5757;
    font-weight: 500
}

.dropdown-list li svg {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    fill: currentColor
}
.drop-price ins {
    text-decoration: none;
}
.dropdown-list.smm-scroll {
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5
}

.dropdown-list.smm-scroll::-webkit-scrollbar {
    width: 6px
}

.dropdown-list.smm-scroll::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px
}

.dropdown-list.smm-scroll::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 10px
}

.dropdown-list.smm-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #ccc
}

.custom-dropdown:focus-within .dropdown-header {
    border-color: #ff5757;
    box-shadow: 0 0 0 3px rgba(255,87,87,.15);
    background-color: #fff
}

.custom-dropdown.active .dropdown-header,.custom-dropdown:focus-within .dropdown-header {
    border-color: #ff5757
}

@media (max-width: 768px) {
    .dropdown-header {
        padding:12px 15px
    }

    .dropdown-list {
        max-height: 200px
    }

    .dropdown-list li {
        padding: 10px 15px
    }
}
