/* SimplyIn Modal Redesign - Reference Site Replica */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap");

/* Modal Container/Overlay Override to ensure it sits correctly */
body .simplyin-modal{
    max-width: 522px;
    left: 0;
    top: 10%;
    margin: 0 auto;
}

body .simplyin-modal .modal-inner-wrap{
    left: unset !important;
}
.simplyin-modal .modal-inner-wrap {
    background-color: transparent !important;
    box-shadow: none !important;
    max-width: 520px !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border-radius: 24px !important;
}

body .simplyin-modal .modal-inner-wrap .modal-content{
    border-radius: 24px;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
body .simplyin-modal .modal-inner-wrap .modal-content,
body .simplyin-modal .modal-inner-wrap .simplyin-modal-content {
    padding: 0;
}

.simplyin-modal .modal-header,
.simplyin-modal .modal-footer {
    display: none !important;
}

/* Main Popup Container */
.simplyin-popup {
    background-color: #ffffff;
    /*border-radius: 24px;*/
    /*box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);*/
    width: 522px;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Inter Tight", sans-serif;
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.simplyin-popup * {
    box-sizing: border-box;
}

/* Header Section */
.simplyin-popup-header img{
    width: 40px;
    height: 40px;
}
.simplyin-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 39px 60px 10px 60px;
    margin-bottom: 18px;
}

@media screen and (max-width: 768px) {
    body .modal-content #simplyin-use-address{
        max-width: 100%;
    }
    .simplyin-popup-header {
        padding: 39px 20px 10px 20px;
        margin-bottom: 20px;
    }
}

.popup-header-strong {
    font-family: "Inter Tight", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1f1f1f;
    text-align: center;
    flex-grow: 1;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .popup-header-strong {
        font-size: 20px;
    }
}

.simplyin-popup-close-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

/* Content Section */
.simplyin-popup-content {
    padding: 0 60px 32px 60px;
    text-align: center;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .simplyin-popup-content {
        padding: 0 20px 22px 20px;
    }

    .simplyin-popup-content.mobile-pb-0 {
        padding-bottom: 0 !important;
    }
}

.popup-caption {
    font-size: 17px;
    font-weight: 600;
    color: #606060;
    margin: 38px auto;
    line-height: 1.24;
    text-align: center;
}

.popup-caption.custom-spaces {
    margin-block: 0 32px;
}

/* OTP Inputs */
.popup-input-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
}

.simplyin-otp-inputs-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

body .popup-input-code .simplyin-otp-digit {
    width: 40px !important;
    height: 56px !important;
    border: 1px solid #dbdbdb !important;
    border-radius: 8px !important;
    font-size: 22px !important;
    text-align: center !important;
    outline: none !important;
    transition: all 0.2s ease;
    font-family: inherit;
    color: #1f1f1f;
    background: #fff;
    line-height: 1 !important;
    letter-spacing: normal !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media screen and (min-width: 1280px) {
    body .popup-input-code .simplyin-otp-digit {
        width: 55px !important;
        height: 87px !important;
        font-size: 32px !important;
    }
}

body .popup-input-code .simplyin-otp-digit:focus {
    border-color: #000 !important;
    border-width: 1px !important;
}

body .popup-input-code .simplyin-otp-digit.invalid {
    border-color: rgb(229, 36, 36) !important;
}

/* Footer & Buttons */
.simplyin-popup-footer {
    text-align: center;
    padding: 0 16px 16px 16px;
}

.popup-text-footer {
    margin-bottom: 28px;
    color: #1f1f1f;
    font-size: 17px;
    line-height: 1;
    font-weight: 600;
}

.popup-text-footer-code {
    margin-bottom: 32px;
}

.popup-buttons {
    color: #606060;
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    margin-top: 0;
    width: 100%;
}

.simplyin-round-btn {
    cursor: pointer;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #606060;
    background-color: transparent;
    border: none;
    text-transform: none;
    border-radius: 160px;
    padding: 20px;
    width: 100%;
    max-width: 187px;
    height: 56px;
    border: 1px solid #e7e7e7;
    line-height: 1;
    transition: all 0.2s;
}

.modal-content #simplyin-use-address,
.simplyin-popup #simplyin-use-address,
.simplyin-popup .simplyin-submit,
.simplyin-popup .simplyin-cancel {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    width: 100%;
    font-family: "Inter Tight", sans-serif;
    outline: 0px;
    border-width: 0px;
    margin: 0px;
    text-decoration: none;
    padding: 19px;
    height: 56px;
    border-radius: 100px;
    background: linear-gradient(90deg, #0ad0cc 0%, #2a5ff2 50%, #b922f9 100%);
    color: white;
    max-width: 440px;
    width: 100%;
    transition: background-color 0.2s;
}

.simplyin-round-btn:hover {
    background: linear-gradient(90deg, #0ad0cc 0%, #2a5ff2 50%, #b922f9 100%);
    color: #ffffff;
}

@media screen and (max-width: 767px) {
    .simplyin-round-btn {
        max-width: unset;
    }
    .simplyin-popup-footer .popup-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 90%;
    }
}

@media screen and (max-width: 1264px){
    aside.modal-popup.simplyin-modal.modal-slide._inner-scroll._show {
        left: 0;
        margin: 0 auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px){
    .simplyin-popup-footer .popup-buttons {
        width: 90%;
    }
}

/* Timer Message */
.sent-messages {
    color: #e22626;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    display: none;
}

.sent-messages .time {
    font-weight: 700;
    margin-left: 5px;
}

/* Status Messages */
.simplyin-status {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px;
}

.simplyin-status-error {
    color: #e22626;
}

.simplyin-status-success {
    color: #28a745;
}

/* Footer Apps Section */
.simplyin-popup-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 20px 0;
    width: 100%;
}

.simplyin-popup-apps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
}

.simplyin-login-text {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.simplyin-app-buttons {
    display: flex;
    gap: 15px;
}

.simplyin-app-btn img {
    height: 35px;
    width: auto;
}

/* Responsive */
@media (max-width: 624px) {
    body .simplyin-popup {
        width: calc(100% - 30px);
    }
    body .popup-buttons-footer {
        width: calc(97% - 22px);
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .simplyin-popup {
        width: calc(100% - 20px);
        border-radius: 24px;
    }
    body .popup-buttons-footer {
        width: calc(92% - 19px);
        margin: 0 auto;
    }

    body .popup-input-code .simplyin-otp-digit {
        width: 45px;
        height: 70px;
        font-size: 24px;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .simplyin-round-btn {
        width: 100%;
    }
}


/* Address Selection Styles - Reference Design */
.simplyin-account-details {
    padding: 0 60px 34px 60px;
}

@media screen and (max-width: 768px) {
    .simplyin-account-details {
        padding: 0 20px 34px 20px;
    }
}

.simplyin-section-title {
    font-family: "Inter Tight", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: #1f1f1f;
    margin-bottom: 20px;
    text-align: left;
}

.simplyin-addresses {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.simplyin-address-item {
    position: relative;
    border-radius: 16px;
    padding: 24px 24px;
    border: 1px solid #e7e7e7;
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: border-color 0.2s;
}

.simplyin-address-item:has(input[type="radio"]:checked) {
    border-color: #4bae4f;
}

.simplyin-address-item input[type="radio"] {
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 1px solid #d2d2d2;
    appearance: none;
    margin: 0;
    cursor: pointer;
}

.simplyin-address-item input[type="radio"]:checked {
    border: 7px solid #4bae4f;
    background-color: #fff;
}

.simplyin-address-item label {
    flex: 1;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.2;
    color: #1f1f1f;
    margin: 0;
}

.simplyin-address-item label strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1;
}

.address-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #2D40F6;
    font-size: 14px;
    text-decoration: underline;
    font-weight: 500;
}

.address-actions button:hover {
    opacity: 0.8;
}

/* Three-dot menu button */
.address-actions .action-menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.address-actions .action-menu:hover {
    background-color: #f0f0f0;
}

/* Dropdown menu for Edit/Delete */
.dropdown-actions-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14),
    0 3px 14px 2px rgba(0, 0, 0, 0.12);
    padding: 0;
    min-width: 120px;
    z-index: 10;
}

.dropdown-actions-menu.show {
    display: block;
}

.dropdown-actions-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-actions-menu li {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3167b9f5;
    font-size: 1.5rem;
    font-weight: 400;
}

.dropdown-actions-menu li:hover {
    background: #f0f0f0;
}

/* Action Buttons */
.popup-buttons-footer {
    padding: 20px 60px 34px 60px;
    position: sticky;
    bottom: 2px;
    background: white;
    box-shadow: 0px -6px 20px 0px rgba(0, 0, 0, 0.04);
    z-index: 29000000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media screen and (max-width: 768px) {
    .popup-buttons-footer {
        padding: 20px 20px 34px 20px;
    }
}

.simplyin-popup .actions-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.simplyin-modal-content .actions-toolbar button,
.simplyin-modal-content .popup-buttons-footer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    width: 100%;
    font-family: "Inter Tight", sans-serif;
    outline: 0;
    border: 0;
    margin: 0;
    text-decoration: none;
    padding: 19px;
    height: 56px;
    border-radius: 100px;
    transition: all 0.2s;
}

.simplyin-popup .actions-toolbar button.action.primary,
.simplyin-modal-content .popup-buttons-footer button.action.primary {
    background: linear-gradient(90deg, #0ad0cc 0%, #2a5ff2 50%, #b922f9 100%);
    color: white;
    border: none;
}

.simplyin-popup .actions-toolbar button.action.secondary,
.simplyin-modal-content .popup-buttons-footer button.action.secondary {
    background: transparent;
    border: 1px solid #1e1e1e;
    color: #1e1e1e;
}

.simplyin-popup .actions-toolbar button:hover,
.simplyin-modal-content .actions-toolbar button:hover,
.popup-buttons-footer button:hover {
    opacity: 0.9;
}

/* Add New Address Link */
body .simplyin-popup .simplyin-add-address-link:hover,
.simplyin-popup .simplyin-add-address-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e1e1e;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-top: 10px;
}

/* Form Styles */
.simplyin-add-address-form,
.simplyin-edit-address-form {
    padding: 0 60px 20px 60px;
}

@media screen and (max-width: 768px) {
    .simplyin-add-address-form,
    .simplyin-edit-address-form {
        padding: 0 20px 20px 20px;
    }
}

.simplyin-popup .form-group {
    position: relative;
    margin-bottom: 16px;
}

.simplyin-popup .form-group input,
.simplyin-popup .form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background: white;
    height: 56px;
    color: #1f1f1f;
    font-weight: 400;
    font-family: "Inter Tight", sans-serif;
    transition: border-color 0.2s;
}

@media screen and (max-width: 768px) {
    .simplyin-popup .form-group input,
    .simplyin-popup .form-group select {
        font-size: 15px;
        padding: 16px;
    }
}

.simplyin-popup .form-group input:focus,
.simplyin-popup .form-group select:focus {
    border-color: #000;
}

.simplyin-popup .form-group input::placeholder {
    color: #999;
    font-size: 16px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .simplyin-popup .form-group input::placeholder {
        font-size: 15px;
    }
}

.simplyin-popup .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNSA1TDkgMSIgc3Ryb2tlPSIjMUYxRjFGIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px;
    cursor: pointer;
}

.simplyin-popup .form-row {
    display: flex;
    gap: 12px;
}

.simplyin-popup .form-row .form-group {
    flex: 1;
}

.form-section-title {
    font-family: "Inter Tight", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #1f1f1f;
    margin-top: 24px;
    margin-bottom: 16px;
}

.form-section-description {
    font-family: "Inter Tight", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #757575;
    margin-bottom: 16px;
}

/* Error States */
.simplyin-popup .form-group.error input,
.simplyin-popup .form-group.error select {
    border-color: #e52424;
}

.simplyin-popup .error-message {
    color: #e52424;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.simplyin-popup .form-group.error .error-message {
    display: block;
}

/* Divider */
.simplyin-popup-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e6ea;
    margin-block: 30px;
}

/* Apps Section */
.simplyin-popup-apps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 60px 40px;
}

@media screen and (max-width: 768px) {
    .simplyin-popup-apps {
        padding-inline: 20px;
    }
}

.simplyin-popup-apps * {
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    color: #1f1f1f;
}

@media screen and (max-width: 768px) {
    .simplyin-popup-apps * {
        font-size: 11px;
        text-align: center;
    }
}

.simplyin-login-text {
    font-size: 12px;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.simplyin-app-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
}

.simplyin-app-btn img {
    height: 35px;
    width: auto;
}

/* Shipping Methods */
.simplyin-shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simplyin-shipping-method-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    cursor: pointer;
}

.simplyin-shipping-method-item:has(input[type="radio"]:checked) {
    border-color: #4bae4f;
}

.simplyin-shipping-method-item input[type="radio"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 1px solid #d2d2d2;
    appearance: none;
    margin: 0;
}

.simplyin-shipping-method-item .method-title{
    width: 80%;
}
.simplyin-shipping-method-item .method-price{
    width: 20%;
    text-align: right;
}

.simplyin-shipping-method-item input[type="radio"]:checked {
    border: 7px solid #4bae4f;
    background-color: #fff;
}

.simplyin-shipping-method-item label {
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.method-title {
    font-size: 14px;
    color: #1f1f1f;
}

.method-price {
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
}

/* Loading State */
.simplyin-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Message Styles */
.simplyin-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    .simplyin-popup {
        box-shadow: none;
    }

    body .popup-input-code .simplyin-otp-digit {
        width: 45px !important;
        height: 70px !important;
        font-size: 24px !important;
    }

    .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .simplyin-round-btn {
        width: 100%;
    }
}


/* Checkbox Styling for "Same as Billing" */
.simplyin-same-address-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.simplyin-same-address-checkbox input[type="checkbox"] {
    display: none;
}

.simplyin-same-address-checkbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    font-size: 16px;
    color: #1f1f1f;
    font-weight: 400;
}

.checkbox-custom {
    position: relative;
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid #d2d2d2;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.simplyin-same-address-checkbox input[type="checkbox"]:checked + label .checkbox-custom {
    background-color: #4bae4f;
    border-color: #4bae4f;
}

.simplyin-same-address-checkbox input[type="checkbox"]:checked + label .checkbox-custom::after {
    content: "";
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgOCA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMi44NDQ1MyA1Ljc0NDU4QzIuMDc4MTIgNC45NzgxNyAxLjMxNjQxIDQuMjA0NzQgMC41NDc2NTYgMy40MzgzM0MwLjQ2MzI4MSAzLjM1Mzk2IDAuNDYzMjgxIDMuMjEzMzMgMC41NDc2NTYgMy4xMjg5NUwxLjQzMTI1IDIuMjQ1MzZDMS41MTU2MiAyLjE2MDk5IDEuNjU2MjUgMi4xNjA5OSAxLjc0MDYzIDIuMjQ1MzZMMy4wMDM5MSAzLjUwODY0TDYuMjUyMzQgMC4yNTc4NjFDNi4zMzkwNiAwLjE3MzQ4NiA2LjQ3NzM0IDAuMTczNDg2IDYuNTY0MDYgMC4yNTc4NjFMNy40NSAxLjE0MzhDNy41MzY3MiAxLjIzMDUyIDcuNTM2NzIgMS4zNjg4IDcuNDUgMS40NTMxN0wzLjE1MzkxIDUuNzQ0NThDMy4wNjk1MyA1LjgzMTMgMi45MzEyNSA1LjgzMTMgMi44NDQ1MyA1Ljc0NDU4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label {
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1f1f1f;
}

/* Address Item with Icon */
.simplyin-address-item label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.address-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.address-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.address-content strong {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    color: #1f1f1f;
}

.address-content span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    color: #606060;
}

/* Delivery Address Section */
#delivery-address-section {
    transition: all 0.3s ease;
}

#delivery-address-section.hidden {
    display: none !important;
}


/* Push Notification Modal Styles */
.simplyin-push-popup .simplyin-popup-content {
    padding-bottom: 20px;
}

.simplyin-push-popup .popup-caption {
    font-size: 17px;
    font-weight: 600;
    color: #606060;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

.simplyin-push-footer {
    text-align: center;
    padding: 20px 60px 30px 60px;
}

.simplyin-push-footer .popup-text-footer {
    font-size: 17px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 24px;
}

.simplyin-push-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.simplyin-or-text {
    font-size: 16px;
    font-weight: 400;
    color: #606060;
}

.simplyin-push-buttons .simplyin-round-btn {
    max-width: 220px;
    padding: 16px 24px;
    height: auto;
}

/* Loader for status messages */
.simplyin-status .simplyin-loader {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #e7e7e7;
    border-top-color: #2D40F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-left: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.simplyin-status-loading {
    color: #606060;
}

/* Responsive adjustments for push notification modal */
@media (max-width: 768px) {
    .simplyin-push-footer {
        padding: 20px 20px 30px 20px;
    }

    .simplyin-push-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .simplyin-push-buttons .simplyin-round-btn {
        max-width: 100%;
        width: 100%;
    }

    .simplyin-or-text {
        display: none;
    }
}


/* Delivery Type Selector */
.simplyin-delivery-type-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.simplyin-delivery-option {
    position: relative;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e7e7e7;
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: border-color 0.2s;
}

.simplyin-delivery-option:hover {
    border-color: #d2d2d2;
}

.simplyin-delivery-option.selected,
.simplyin-delivery-option:has(input[type="radio"]:checked) {
    border-color: #4bae4f;
}

.simplyin-delivery-option input[type="radio"] {
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 1px solid #d2d2d2;
    appearance: none;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.simplyin-delivery-option input[type="radio"]:checked {
    border: 7px solid #4bae4f;
    background-color: #fff;
}

.simplyin-delivery-option label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.delivery-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f1f1f;
    line-height: 1.2;
}

.delivery-price {
    margin-left: 4px;
}

.delivery-option-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #606060;
    line-height: 1.2;
}

/* Delivery Sections */
.simplyin-delivery-section {
    transition: all 0.3s ease;
}

/* Parcel Tabs - Pill Style */
.simplyin-parcel-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: transparent;
    border-radius: 100px;
    padding: 2px;
    border: 1px solid #e7e7e7;
}
button.simplyin-tab-btn:hover {
    background: transparent;
    border: unset;
}

.simplyin-parcel-tabs .simplyin-tab-btn{
    padding: unset;
    padding-block: 20px;
    background: transparent;
}

.simplyin-tab-btn {
    flex: 1;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: 100px;
    font-family: "Inter Tight", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #606060;
    cursor: pointer;
    transition: all 0.2s;
}

.simplyin-tab-btn:hover {
    color: #1f1f1f;
}

.simplyin-tab-btn.active {
    background: #331cfe !important;
    color: #ffffff;
}

/* Tab Content */
.simplyin-tab-content {
    display: none;
}

.simplyin-tab-content.active {
    display: block;
}

/* Parcel List */
.simplyin-parcel-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Parcel Item - Horizontal Row Layout */
.simplyin-parcel-item {
    position: relative;
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid #e7e7e7;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s;
    background: #fff;
}

.simplyin-parcel-item:hover {
    border-color: #d2d2d2;
}

.simplyin-parcel-item:has(input[type="radio"]:checked) {
    border-color: #4bae4f;
}

/* Radio button - first element */
.simplyin-parcel-item input[type="radio"] {
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 1px solid #d2d2d2;
    appearance: none;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.simplyin-parcel-item input[type="radio"]:checked {
    border: 7px solid #4bae4f;
    background-color: #fff;
}

/* Label wraps logo, content, and type icon in a row */
.simplyin-parcel-item label {
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0;
    min-width: 0;
}

/* Logo container */
.parcel-logo {
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.parcel-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.parcel-icon {
    font-size: 24px;
    line-height: 1;
}

/* Content area - name, address, price stacked vertically */
.parcel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.parcel-content strong {
    font-size: 15px;
    font-weight: 600;
    color: #1f1f1f;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.parcel-address {
    font-size: 13px;
    font-weight: 400;
    color: #606060;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.parcel-price {
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
    margin-top: 4px;
}

.pickup-price {
    font-size: 14px;
    font-weight: 600;
    color: #1f1f1f;
    display: block;
    margin-top: 4px;
}

/* Type icon - shows parcel/pickup icon */
.parcel-type-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Actions menu - three dots */
.parcel-actions {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.parcel-action-menu {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.parcel-action-menu:hover {
    background-color: #f0f0f0;
}

/* Parcel Search Results */
.simplyin-parcel-search-results {
    /*max-height: 300px;*/
    overflow-y: auto;
    margin-top: 16px;
}
.simplyin-parcel-search-results .pickup-list-container{
    max-height: 100%;
    overflow-y: unset;
}

.simplyin-parcel-search-results .simplyin-parcel-item.selectable {
    cursor: pointer;
}

.simplyin-parcel-search-results .simplyin-parcel-item.selectable:hover {
    background-color: #f8f8f8;
    border-color: #2D40F6;
}

/* Parcel Dropdown Menu */
.simplyin-parcel-item .dropdown-actions-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 0;
    min-width: 120px;
    z-index: 99999;
    overflow: visible;
}

.simplyin-parcel-item .dropdown-actions-menu.show {
    display: block;
}

/* Ensure parcel-actions has higher z-index when menu is open */
.parcel-actions:has(.dropdown-actions-menu.show) {
    z-index: 99998;
}

.simplyin-parcel-item .dropdown-actions-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.simplyin-parcel-item .dropdown-actions-menu li {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3167b9;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.simplyin-parcel-item .dropdown-actions-menu li:hover {
    background: #f5f5f5;
}

.simplyin-parcel-item .dropdown-actions-menu li svg {
    flex-shrink: 0;
}

/* Add Parcel Form */
.simplyin-add-parcel-form {
    padding: 0 60px 20px 60px;
}

@media screen and (max-width: 768px) {
    .simplyin-add-parcel-form {
        padding: 0 20px 20px 20px;
    }

    .simplyin-parcel-tabs {
        flex-direction: row;
    }

    .simplyin-tab-btn {
        font-size: 14px;
        padding: 10px 12px;
    }

    .simplyin-parcel-item {
        padding: 12px 16px;
    }

    .parcel-logo {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }

    .parcel-content strong {
        font-size: 14px;
    }

    .parcel-address {
        font-size: 12px;
    }

    .parcel-type-icon {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }

    .parcel-action-menu {
        width: 28px;
        height: 28px;
    }
}


/* Add Parcel Locker Modal - Search Input */
.search-input-group {
    position: relative;
    margin-bottom: 20px;
}

.search-input-group .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.search-input-group input {
    padding-left: 48px !important;
    border: 2px solid #2D40F6 !important;
}

.search-input-group input:focus {
    border-color: #2D40F6 !important;
    outline: none;
}

/* Pickup Placeholder */
.pickup-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 16px;
}

.pickup-placeholder .placeholder-icon {
    margin-bottom: 16px;
}

.pickup-placeholder .placeholder-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Pickup List Container */
.pickup-list-container {
    max-height: 350px;
    overflow-y: auto;
    margin-top: 16px;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.pickup-list-container::-webkit-scrollbar {
    width: 6px;
}

.pickup-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.pickup-list-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* Pickup List Item */
.simplyin-pickup-list-item {
    margin-bottom: 8px;
}

.simplyin-pickup-list-item .pickup-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
}

.simplyin-pickup-list-item .pickup-item:hover {
    border-color: #d2d2d2;
    background: #fafafa;
}

.simplyin-pickup-list-item input[type="radio"] {
    width: 24px;
    min-width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 1px solid #d2d2d2;
    appearance: none;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.simplyin-pickup-list-item input[type="radio"]:checked {
    border: 7px solid #4bae4f;
    background-color: #fff;
}

.simplyin-pickup-list-item .pickup-item:has(input[type="radio"]:checked) {
    border-color: #4bae4f;
    background: #f8fff8;
}

/* Pickup Info */
.pickup-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.pickup-logo {
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.pickup-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pickup-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pickup-details strong {
    font-size: 15px;
    font-weight: 600;
    color: #1f1f1f;
    line-height: 1.2;
}

.pickup-details .pickup-address {
    font-size: 13px;
    font-weight: 400;
    color: #606060;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pickup-details .pickup-distance {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    line-height: 1.2;
}

/* Address Details Section */
#address-details-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e7e7e7;
}

.address-detail-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.address-detail-row .detail-label {
    color: #666;
    min-width: 120px;
    flex-shrink: 0;
}

.address-detail-row .detail-value {
    color: #1f1f1f;
    font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .pickup-placeholder {
        padding: 30px 16px;
    }

    .pickup-list-container {
        max-height: 280px;
    }

    .simplyin-pickup-list-item .pickup-item {
        padding: 12px;
    }

    .pickup-logo {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }

    .pickup-details strong {
        font-size: 14px;
    }

    .pickup-details .pickup-address {
        font-size: 12px;
    }

    .address-detail-row {
        flex-direction: column;
        gap: 2px;
    }

    .address-detail-row .detail-label {
        min-width: auto;
    }
}

/* Autocomplete Dropdown Styles */
.simplyin-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 10001;
    display: none;
}

.simplyin-autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.simplyin-autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.simplyin-autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.focused {
    background-color: #f5f5f5;
}

.autocomplete-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.autocomplete-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.autocomplete-loading,
.autocomplete-no-results,
.autocomplete-error {
    padding: 16px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.autocomplete-error {
    color: #e74c3c;
}

/* Search input group positioning for autocomplete */
.search-input-group {
    position: relative;
}

/* Ensure search input has proper styling when autocomplete is open */
.search-input-group input:focus + .simplyin-autocomplete-dropdown,
.simplyin-autocomplete-dropdown:hover {
    display: block;
}

/* Responsive autocomplete */
@media screen and (max-width: 768px) {
    .simplyin-autocomplete-dropdown {
        max-height: 200px;
    }

    .autocomplete-item {
        padding: 10px 12px;
    }

    .autocomplete-text {
        font-size: 13px;
    }
}

/* ==========================================
   Payment Method Modal Styles
   ========================================== */

/* Payment popup specific styles */
.simplyin-payment-popup .simplyin-popup-container {
    padding: 0 40px 30px 40px;
}

@media screen and (max-width: 768px) {
    .simplyin-payment-popup .simplyin-popup-container {
        padding: 0 20px 20px 20px;
    }
}

/* Payment methods wrapper */
.simplyin-payment-methods-wrapper {
    margin-bottom: 20px;
}

/* Section titles */
.simplyin-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Payment option item */
.simplyin-payment-option-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.simplyin-payment-option-item:hover {
    border-color: #4CAF50;
    background: #f9fff9;
}

.simplyin-payment-option-item.selected {
    border-color: #4CAF50;
    background: #f0fff0;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.simplyin-payment-option-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

.simplyin-payment-option-item input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
}

/* Saved card info */
.simplyin-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.simplyin-card-icon {
    width: 40px;
    height: 26px;
    object-fit: contain;
}

.simplyin-card-number {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    letter-spacing: 1px;
}

/* Add new card section */
.simplyin-add-card-section {
    margin-top: 16px;
}

.simplyin-add-card-label {
    font-weight: 500;
}

/* Card form container */
.simplyin-card-form-container {
    margin-top: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.simplyin-iframe-wrapper {
    position: relative;
}

/* Card form fields */
.simplyin-form-group {
    margin-bottom: 16px;
}

.simplyin-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.simplyin-card-field {
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
}

.simplyin-card-field:focus-within {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.simplyin-form-row {
    display: flex;
    gap: 16px;
}

.simplyin-form-row .simplyin-form-group {
    flex: 1;
}

/* Save card option */
.simplyin-save-card-option {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.simplyin-save-card-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.simplyin-save-card-option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #4CAF50;
}

/* Card name group */
.simplyin-card-name-group {
    margin-top: 12px;
}

.simplyin-card-name-group input {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
}

.simplyin-card-name-group input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Card success/error messages */
.simplyin-card-success {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: 14px;
    margin-top: 12px;
}

.simplyin-field-error {
    padding: 12px;
    background: #ffebee;
    border-radius: 8px;
    color: #c62828;
    font-size: 14px;
    margin-top: 12px;
}

/* BLIK section */
.simplyin-blik-section {
    margin-top: 16px;
}

.simplyin-blik-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.simplyin-blik-icon {
    width: 50px;
    height: 30px;
    object-fit: contain;
}

/* BLIK input container */
.simplyin-blik-field-container {
    margin-top: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.simplyin-blik-input-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

/* BLIK digit inputs grid */
.simplyin-blik-inputs-grid {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.simplyin-blik-digit-input {
    width: 48px;
    height: 56px;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    transition: all 0.2s ease;
}

.simplyin-blik-digit-input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.simplyin-blik-digit-input.valid {
    border-color: #4CAF50;
    background: #f0fff0;
}

.simplyin-blik-digit-input.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.simplyin-blik-digit-input.filled {
    border-color: #4CAF50;
}

/* BLIK error message */
.simplyin-blik-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px;
    background: #ffebee;
    border-radius: 8px;
    color: #c62828;
    font-size: 13px;
}

/* Payment actions */
.simplyin-payment-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

#simplyin-pay-button {
    width: 100%;
    height: 52px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#simplyin-pay-button:hover:not(:disabled) {
    background: #43a047;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

#simplyin-pay-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Payment status */
#simplyin-payment-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
}

#simplyin-payment-status.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

#simplyin-payment-status.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* Loading spinner */
.simplyin-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 16px;
}

.simplyin-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top-color: #4CAF50;
    border-radius: 50%;
    animation: simplyin-spin 0.8s linear infinite;
}

.simplyin-spinner-small {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: simplyin-spin 0.8s linear infinite;
}

@keyframes simplyin-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   3D Secure Modal Styles
   ========================================== */

.simplyin-3ds-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simplyin-3ds-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.simplyin-3ds-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: simplyin-3ds-appear 0.3s ease;
}

@keyframes simplyin-3ds-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.simplyin-3ds-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
}

.simplyin-3ds-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.simplyin-3ds-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: all 0.2s ease;
}

.simplyin-3ds-close:hover {
    background: #ffebee;
    color: #c62828;
}

.simplyin-3ds-iframe-wrapper {
    position: relative;
    min-height: 400px;
}

.simplyin-3ds-iframe-wrapper .simplyin-3ds-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.simplyin-3ds-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .simplyin-blik-digit-input {
        width: 42px;
        height: 50px;
        font-size: 20px;
    }

    .simplyin-3ds-modal {
        width: 95%;
        max-height: 85vh;
    }

    .simplyin-3ds-iframe {
        height: 400px;
    }
}

/* Payment Provider Logos Header */
.simplyin-payment-providers-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
}

.simplyin-providers-text {
    font-size: 13px;
    font-weight: 500;
    color: #606060;
    text-align: center;
}

.simplyin-providers-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.simplyin-provider-logo {
    height: 24px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}

.simplyin-p24-logo {
    height: 20px;
}

.simplyin-providers-separator {
    font-size: 14px;
    font-weight: 500;
    color: #999;
}

/* Responsive adjustments for provider logos */
@media screen and (max-width: 768px) {
    .simplyin-payment-providers-header {
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .simplyin-providers-text {
        font-size: 12px;
    }

    .simplyin-provider-logo {
        height: 20px;
        max-width: 60px;
    }

    .simplyin-p24-logo {
        height: 16px;
    }
}

/* Payment method selection in checkout - logo display */
.payment-method .simplyin-payment-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.payment-method .simplyin-payment-logo img {
    height: 18px;
    width: auto;
    vertical-align: middle;
}


/* SimplyIN Checkout Payment Method Logo */
.simplyin-payment-label {
    display: flex !important;
    align-items: center !important;
}

.simplyin-checkout-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Ensure label text aligns properly with logo */
.simplyin-payment-label span {
    vertical-align: middle;
}


/* ============================================================
 * Extracted inline styles — previously inline in JS templates
 * Audit Point 1: No inline CSS in templates
 * ============================================================ */

/* Close button span (was: style="font-size: 24px; color: #333; line-height: 1; cursor: pointer;") */
.simplyin-popup-close-button span {
    font-size: 24px;
    color: #333;
    line-height: 1;
    cursor: pointer;
}

/* OTP status margin (was: style="margin-bottom: 20px;") */
.simplyin-popup .simplyin-status {
    margin-bottom: 20px;
}

/* Popup buttons initially hidden (was: style="display: none;") */
.simplyin-popup .popup-buttons {
    display: none;
}

/* Footer logo in login text (was: style="height: 16px; margin: 0 4px;") */
.simplyin-login-text img {
    height: 16px;
    margin: 0 4px;
}

/* App buttons container (was: style="margin-top: 10px;") */
.simplyin-app-buttons {
    margin-top: 10px;
}

/* App store link buttons (was: inline style on <a>) */
.simplyin-app-btn {
    text-decoration: none;
    color: #fff;
    background: #000;
    border-radius: 5px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    text-align: left;
}

/* Push notification loading container (was: style="text-align: center; margin: 20px 0;") */
.simplyin-push-loading {
    text-align: center;
    margin: 20px 0;
}

/* Push notification spinner (was: inline style) */
.simplyin-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2D40F6;
    border-radius: 50%;
    animation: simplyin-spin 1s linear infinite;
}

/* Spinner waiting text (was: style="margin-top: 10px; color: #666;") */
.simplyin-push-loading p {
    margin-top: 10px;
    color: #666;
}

/* Spinner keyframe animation (was: inline <style> tag) */
@keyframes simplyin-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Account details status hidden by default (was: style="display: none;") */
.simplyin-account-details .simplyin-status {
    display: none;
}

/* Billing header flex layout (was: inline style) */
.simplyin-billing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Section title with no bottom margin in billing header (was: style="margin-bottom: 0;") */
.simplyin-billing-header .simplyin-section-title {
    margin-bottom: 0;
}

/* Delivery section title spacing (was: style="margin-top: 32px; margin-bottom: 20px;") */
.simplyin-delivery-section-title {
    margin-top: 32px;
    margin-bottom: 20px;
}

/* Delivery data title spacing (was: style="margin-top: 24px; margin-bottom: 20px;") */
.simplyin-delivery-data-title {
    margin-top: 24px;
    margin-bottom: 20px;
}

/* Centered action link container (was: inline style with flex centering) */
.simplyin-centered-action {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Parcel locker section title spacing (was: style="margin-top: 24px; margin-bottom: 20px;") */
.simplyin-parcel-section-title {
    margin-top: 24px;
    margin-bottom: 20px;
}


/* Utility: Hidden state (used as initial state for JS-toggled elements) */
.simplyin-hidden {
    display: none;
}
