.tspay-card {
    background-color: #ffffff;
    border: 1px solid hsl(0, 0%, 91%);
    border-radius: 8px;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 30px;
}

.tspay-card[data-id="checkout-success"]{
    text-align: center;
}



.tspay-card__title {
    margin-top: 0;
}

.tspay-account__container {
    width: 100%;
    max-width: 600px;
}

.tspay-account__container[data-id="tspay_orders"] {
    max-width: unset;
}

.tspay-card__content {
    padding: 30px 30px 10px;
}

.tspay-card__row {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 9px;
}
.tspay-card__row.tspay-card__row--inline {
    gap: 10px;
}

.tspay-card__row--inline {
    flex-direction: row;
}

.tspay-card__row label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}


.tspay-card__row input,
.tspay-input{
    background-color: #ffffff;
    border: 1px solid #777777;
    border-radius: 8px;
    box-shadow: none;
    box-sizing: border-box;
    color: #222222;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    min-height: auto;
    outline: none;
    width: 100%;
    padding: 12px;

}

.tspay-card__row input:hover,
.tspay-input:hover
{
    cursor: pointer;
}


.tspay-card__row input:focus, .tspay-card__row input:active,
.wtspay-input:focus, .tspay-input:active
{
    background-color: #ffffff;
    border-color: #80BDFF;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
    outline: none;
    word-break: initial;
    cursor: text;
}

.tspay-card__row .tspay-input--error {

    border-color: #ff0000 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;

}


.tspay-card__actions {
    margin: 30px 0;
}


.tspay-button--alert {
    background-color: #c68a8a;
}

.tspay-button--alert:hover {
    background-color: #cb3e3e;
}

.rememberme {
    width: inherit;
}

.tspay-card .custom-checkbox {
    max-width: 1rem;
    padding: 0;
    margin-bottom: 12px;
}

.form-error {
    color: red;
}

.tspay-card__content--centered {
    text-align: center;
}


.tspay_account__actions {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;

}

.tspay-account {
    display: flex;
    gap: 60px;
    width: 100%;
    max-width: none;
}

.tspay-account__container {
}

.tspay-account__menu {
    margin: 0;
}

.tspay-account__menu-item {
    margin-bottom: 10px;
    white-space: nowrap;
}


.tspay-account__menu-item__link {
    text-decoration: underline;
}

.tspay-account__menu-item__link:hover {
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.tspay-account__menu-item__link--active {
    text-decoration: none;
}


.tspay-table {
    width: 100%;
    border-collapse: collapse;
}

.tspay-table th, .tspay-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.tspay-orders span {
    font-size: 0.9rem;
    padding: 5px;
    background-color: #d4eeda;
    border-radius: 8px;
}

.tspay-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.tspay-table td {
    word-wrap: break-word;
}

.tspay-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.tspay-table tr:hover {
    background-color: #f1f1f1;
}

.tspay-table td:first-child {
    min-width: 50px;
}


.tspay-button {
    width: 100%;
    background-color: #0c3d54;
    border: 1px solid #0c3d54;
    border-radius: 8px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.5;
    min-height: 40px;
    outline: 0;
    padding: 12px 18px;
    text-align: center;
    text-decoration: none;
    text-rendering: geometricprecision;
    text-transform: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    transition: background-color 0.2s, color 0.2s;
}

.tspay-button:hover {
    background-color: initial;
    background-position: 0 0;
    border-color: #0c3d54;
    color: #0c3d54;
}

.tspay-card__caption {
    margin: 20px 0 30px;
}

.tspay-card__footnote {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: none;
    background-color: rgba(0, 0, 0, 0.04);
    padding: 12px 36px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.tspay-card__footnote a {
    cursor: pointer;
}

.tspay-message {
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
    border-radius: 8px;
    color: #31708f;
    font-weight: 400;
    margin: 18px 0;
    padding: 12px 18px;
    text-align: left;
}

.tspay-message--success{
    background-color: #d4eeda;
    border-color: #c3e6cb;
    color: #0f441C;
}

.tspay-message--error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.tspay-message--alert {
    background-color: #fff8e0;
    border-color: #ffeeba;
    color: #6C5101;
}

.tspay-card__discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    line-height: 10px;
    padding: 5px 0;
}

.tspay-loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s linear infinite;
}


.tspay-card[data-id="info"] .tspay-message:not(.tspay-message--error)
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    line-height: 10px;
    padding: 5px 18px;
    margin: 0;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.tspay-input[name="country"]{
    margin-bottom: 10px;
}

.tspay-table {
    margin-bottom:30px
}

.tspay-card[data-id="membership-join"] {
    text-align: center;

}

.tspay-card[data-id="membership-join"] .tspay-card__content {
    margin-bottom: 30px;
}

.tspay-card[data-id="membership-join"] .tspay-card__actions{
    margin-bottom: 0;
}

.tspay-card[data-id="membership-join"] table{
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}

.tspay-card[data-id="membership-join"] tr{
    margin: 3px 0;
}
.tspay-card[data-id="membership-join"] .tspay-card__footnote{
    justify-content: flex-start;
    gap: 10px;
}


