.sendquicker-stock-alert-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sendquicker-stock-alert-popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sendquicker-stock-alert-popup .sendquicker-stock-alert-popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    line-height: normal;
    background-color: #333;
    border: 2px solid #fff;
    border-radius: 20px;
    height: 30px;
    width: 30px;
    min-height: fit-content;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sendquicker-stock-alert-popup-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.sendquicker-stock-alert-popup-description {
    margin-bottom: 16px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.sendquicker-stock-alert-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

#sendquicker-stock-alert-dial-code {
    width: 15%;
    padding: 0 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
    user-select: none;
}

#sendquicker-stock-alert-mobile-number {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: #fff;
}

.sendquicker-stock-alert-submit-wrap .button {
    position: relative;
    width: 100%;
    padding: 10px 15px;
    background-color: #0071a1;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: capitalize;
}

.sendquicker-stock-alert-submit-wrap .button:hover {
    background-color: #005a80;
    color: #fff;
}

.sendquicker-stock-alert-submit-wrap .button:disabled,
.sendquicker-stock-alert-submit-wrap .button.sendquicker-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.sendquicker-stock-alert-submit-wrap .button.sendquicker-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sendquicker-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sendquickerStockAlertSpin 0.8s linear infinite;
    flex-shrink: 0;
}

.sendquicker-btn-text {
    display: inline-block;
    line-height: 1;
}

@keyframes sendquickerStockAlertSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.sendquicker-stock-alert-response.success {
    text-align: center;
    color: green;
    margin-top: 10px;
    font-size: 14px;
}

.sendquicker-stock-alert-response.error {
    text-align: center;
    color: red;
    margin-top: 10px;
    font-size: 14px;
}

#sendquicker-stock-alert-country-code-selection-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.country-code-popup-content {
    background-color: #fff;
    position: relative;
    width: 320px;
}

.sendquicker-country-list-container {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}

#sendquicker-stock-alert-country-code-search {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

#sendquicker-stock-alert-country-code-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sendquicker-stock-alert-country-list {
    border-bottom: 1px solid #ddd;
    margin: 0;
    cursor: pointer;
}

.sendquicker-stock-alert-country-list:last-child {
    border-bottom: 0;
}

.sendquicker-stock-alert-country-list:hover {
    background-color: #f7f7f7;
}

#sendquicker-stock-alert-country-code-popup-close-btn {
    height: 38px;
    color: #fff;
    background-color: #00192F;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.sendquicker-country-search-wraper {
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
    padding: 10px;
}

.sendquicker-country-list-container {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sendquicker-country-list-container::-webkit-scrollbar {
  width: 5px;
}

.sendquicker-country-list-container::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

.sendquicker-country-list-container::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 20px;
}

.sendquicker-country-list-container::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

#sendquicker-country-code-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.country-name-code-dialling-code {
    display: flex;
    justify-content: space-between;
    padding: 6px 15px;
    font-size: 13px;
    color: #00192F;
}

.sendquicker-country-name-country-code {
    display: flex;
    gap: 5px;
}

.sendquicker-country-list {
    border-bottom: 1px solid #ddd;
    margin: 0;
    cursor: pointer;
}

.sendquicker-country-list:last-child {
    border-bottom: 0;
}

.country-popup-close-btn-wraper {
    background-color: #fff;
    box-shadow: 0 0 9px rgba(0,0,0,0.12);
    padding: 10px;
    cursor: pointer;
}

#sendquicker-my-account-details-dial-code {
    text-align: center;
    width: 70px;
    cursor: pointer;
}

@media (max-width: 768px) {
    
    .country-code-popup-content {
        height: 100%;
        width: 100%;
    }
    .sendquicker-country-list-container {
        max-height: calc(100% - 17%);
    }
    .sendquicker-country-list-container::-webkit-scrollbar {
        width: 0;
    }

    .sendquicker-stock-alert-popup {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .sendquicker-stock-alert-popup-content {
        width: 100%;
        max-width: none;
        border-radius: 15px 15px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        padding: 20px 15px;
    }

    .sendquicker-stock-alert-popup-content.active {
        transform: translateY(0);
    }

    .sendquicker-stock-alert-row {
        flex-direction: row;
        gap: 10px;
    }
    
    .sendquicker-stock-alert-popup .sendquicker-stock-alert-popup-close {
        top: -40px;
        left: 50%;
    }
}