
.prices-scraper-exchange-rate-convert {
    position: relative;
    font-family: inherit;
    box-sizing: border-box;
}

.prices-scraper-exchange-rate-convert * {
    box-sizing: border-box;
}



.psmc-dropdown-menu,
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    list-style: none;
}

.psmc-dropdown-menu.show,
.dropdown-menu.show {
    display: block;
}

.psmc-dropdown-menu .psmc-option,
.dropdown-menu .psmc-option {
    display: block;
    padding: 5px 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.psmc-dropdown-menu .psmc-option:hover,
.dropdown-menu .psmc-option:hover {
    background-color: #f5f5f5;
}

.dropdown-toggle-select {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle-select::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 5px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.psmc-dropdown-menu .input-search,
.dropdown-menu .input-search {
    width: calc(100% - 20px);
    margin: 5px 10px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.input-group-btn,
.psmc-select-wrapper {
    position: relative;
    display: inline-block;
}

.psmc-retry-btn {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

.psmc-retry-btn:hover {
    color: #004499;
}



.prices-scraper-exchange-rate-convert .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 100%;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: right;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.prices-scraper-exchange-rate-convert .show > .dropdown-menu {
    display: block;
}

.prices-scraper-exchange-rate-convert .input-group-btn {
    position: relative;
    width: 100%;
}

.prices-scraper-exchange-rate-convert .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    color: #333;
    background-color: #ffffff7a;
    cursor: pointer;
    height: 44px !important;
}

.prices-scraper-exchange-rate-convert .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 5px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}



.prices-scraper-exchange-rate-convert .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
}


.psmc-wrapper {
    direction: rtl;
    max-width: 100%;
    margin: 0 auto;
}

.psmc-wrapper .pserc-modul {
    background: #cfcfcf42;
    padding: 20px 0px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 18%);
}

.psmc-selectors-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 0px 15px;
}

.psmc-input-group {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
}

.psmc-wrapper .convert-from-text {
    text-align: right;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    font-size: 13px;
}

.psmc-wrapper .tile { display: flex; align-items: center; width: 100%; }
.psmc-wrapper .tile-content { flex-grow: 1; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.psmc-wrapper .tile-title { font-weight: bold; font-size: 15px; }
.psmc-wrapper .dropdown-menu-list { max-height: 250px; overflow-y: auto; padding: 0; margin: 0; list-style: none; }

.psmc-wrapper .psmc-option {
    cursor: pointer;
    padding: 8px 15px;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
    display: block;
    width: 100%;
    text-align: right;
}
.psmc-wrapper .psmc-option:hover { background-color: #f0f4ff; color: #000; }

.psmc-wrapper .input-search { padding: 10px; border-bottom: 1px solid #eee; }
.psmc-wrapper .input-search input { width: 100%; padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px; }


.pserc-input-form { margin-top: 25px; text-align: center; padding: 0 15px; }
.pserc-input-form .convert-from-text { width: 100%; text-align: center; }

.pserc-inputs {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #cccccc8c !important;
    border-radius: 6px;
    direction: ltr;
    height: 42px !important;
    display: inline-block;
    background: #f5f5f5 !important;
}

.pserc-output-form { text-align: center; margin-top: 15px; padding: 0 15px; }

.pserc-result {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

span#psmc-output-amount { font-size: 22px; }
#psmc-output-currency { color: #555; font-size: 13px; margin: 0 0 4px 0; line-height: 1; font-weight: 500; }

.psmc-text-up { color: #069300 !important; }
.psmc-text-down { color: #e10000 !important; }
.psmc-text-neutral { color: #333 !important; }
.basket-change-up { color: #0fa709; }
.basket-change-down {
    color: #fa3333;
    font-size: 15px;
}
.basket-change-none { color: #555; }


div#psmc-basket-wrapper { padding: 0 15px; }

.psmc-basket-table th, 
.psmc-basket-table td {
    padding: 8px 11px;
    vertical-align: middle;
    border: 1px solid #eee !important;
}

.psmc-basket-table thead tr, .psmc-basket-table thead th {
    background-image: none !important;
    background-color: #f9f9f9 !important;
    color: #333 !important;
}
.psmc-basket-table tfoot tr, .psmc-basket-table tfoot td {
    background-image: none !important;
    background-color: #e4ebf5  !important;
    color: #333 !important;
}
.psmc-basket-table thead tr:hover, .psmc-basket-table tfoot tr:hover {
    background-color: inherit !important;
}

.psmc-basket-table tbody tr:nth-of-type(odd) { background-color: #ffffff; }
.psmc-basket-table tbody tr:nth-of-type(even) { background-color: #f7f9fc; }
.psmc-basket-table tbody tr:hover {
    background-color: #eef4fb !important;
    background-image: none !important;
    color: #333 !important;
    transition: background-color 0.2s ease-in-out;
}
.psmc-basket-table tbody tr:hover td {
    color: #333 !important;
    background-image: none !important;
}


.psmc-merged-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.psmc-merged-top {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #666;
}
.psmc-merged-top img {
    width: 18px !important;
    height: 12px !important;
    margin-left: 3px !important;
    margin-right: 0 !important;
    vertical-align: middle;
}
.psmc-separator { margin: 0 1px; color: #666; font-weight: normal; }
.psmc-count-val { color: #00774b; font-family: sans-serif; }
.psmc-karat-name {
    font-size: 15px;
    font-weight: bold;
    margin-right: 1px;
}

.psmc-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}
.psmc-price-value { font-size: 15px; }
.psmc-price-currency { color: #666; white-space: nowrap; }

.psmc-indicator-cell {
    position: relative !important;
    padding-top: 15px !important;
}
.psmc-remove-item {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #dddbdb;
    color: #d50101  !important;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    border-bottom-right-radius: 4px;
    z-index: 10;
}
.psmc-remove-item:hover {
    background-color: #a71d2a;
    color: #fdffff !important;
}

.psmc-header-section {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #75757529;
    padding: 0px 15px 15px 15px;
}
.psmc-main-title { font-size: 22px; font-weight: 800; color: #333; margin: 0 0 20px 0; line-height: 1.3; }
.psmc-main-title span { color: #d4af37; }
.psmc-main-desc { font-size: 14px; color: #666; margin: 0 auto; line-height: 1.6; max-width: 90%; }
.psmc-header-section:empty { display: none; }

.psmc-basket-title {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: #333;
    margin-bottom: 0px;
    margin-top: 0;
    line-height: 1.4;
    background: #e4ebf5;
    padding: 15px;
}

.psmc-wrapper img, .psmc-wrapper svg { max-height: 24px; width: auto !important; object-fit: contain; }
#psmc-metal-select img { height: 18px !important; margin: 3px 0 0 0; }
#psmc-metal-list img { width: 20px !important; height: 20px !important; }
div#psmc-country-flag { margin: 0 0 0 5px; }
#psmc-country-select img { width: 23px !important; height: auto !important; margin-bottom: 3px; }
#psmc-country-list img { width: 24px !important; height: auto !important; }
#psmc-change-indicator img { width: 12px !important; height: 12px !important; margin: 0 0 0 2px !important; }

.psmc-total-wrapper { display: flex; flex-direction: row; align-items: baseline; justify-content: center; gap: 5px; flex-wrap: wrap; }
.psmc-total-value { font-weight: bold; font-size: 15px; color: #333; }
.psmc-total-currency { color: #666; font-size: 12px; }

.psmc-total-change-wrapper { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; font-weight: bold; font-size: 15px; flex-wrap: wrap; }
.psmc-change-state { margin-left: 2px; }
.psmc-change-currency { font-size: 11px; opacity: 0.8; }



.psmc-total-label-cell {
    font-size: 15px !important;
    font-weight: 900 !important;
    vertical-align: middle !important;
}



#psmc-add-btn:active { transform: scale(0.95); }
@keyframes psmc-btn-pop {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 119, 75, 0.7); }
    50% { transform: scale(0.96); box-shadow: 0 0 0 6px rgba(0, 119, 75, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 119, 75, 0); }
}
.psmc-btn-animate { animation: psmc-btn-pop 0.3s ease-out; }


@media (max-width: 800px) {

    .psmc-selectors-container { flex-direction: column; gap: 10px; }
    .psmc-input-group { width: 100%; min-width: 100%; }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 0;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: #cfcfcf #f5f5f5; 
    }
    .table-responsive::-webkit-scrollbar { height: 6px; width: 6px; }
    .table-responsive::-webkit-scrollbar-track { background: #f5f5f5; border-radius: 4px; }
    .table-responsive::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 4px; }
    .table-responsive::-webkit-scrollbar-thumb:hover { background: #b0b0b0; }


    .psmc-basket-table {
        min-width: 100% !important; 
        width: auto !important;     
        table-layout: auto !important;
    }


    .psmc-basket-table th, 
    .psmc-basket-table td {
        width: auto !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .psmc-basket-table td {
        padding: 8px 4px !important;
    }
    
    div#psmc-basket-wrapper { padding: 0;}

    .psmc-basket-table th, .psmc-basket-table td,
    .psmc-price-value, .psmc-total-value, .psmc-change-value,
    .psmc-price-currency, .psmc-total-currency, .psmc-change-currency,
    .psmc-change-state {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
    

    .psmc-basket-table td:nth-child(1) img {
        display: inline-block !important;
    }

    .psmc-price-wrapper, .psmc-total-wrapper, .psmc-total-change-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        width: 100%;
    }
    .psmc-price-value, .psmc-change-value { font-size: 13px; text-align: center; }
    .psmc-price-currency, .psmc-total-currency { display: block; margin-top: 2px; font-size: 11px; opacity: 0.8; }
    
    .psmc-total-value { font-size: 13px; text-align: center; }
    .psmc-change-state { display: block; margin-bottom: 2px; font-size: 13px; }
    .psmc-change-currency { display: block; margin-top: 0px; font-weight: normal; }
    
    
    .psmc-karat-name {
    font-size: 13px;

}
.basket-change-down {
    font-size: 13px;
}    

    .psmc-merged-top {
        width: max-content !important;
        min-width: 100%;
    }

    .psmc-total-label-cell {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

}