label {
    font-weight: 500;
}

.pt-body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    font-family: sans-serif;
}

.pt-page-wrapper {
    width: 100vw;
    display: flex;
    flex-direction: column;
    padding: 10px 5px;
    gap: 10px;
    align-items: center;
}

.pt-logo-row {
    display: none;
    width: 100%;
    padding: 0 16px;
}
.pt-logo-row img {
    height: 40px;
    width: auto;
}

.pt-page-title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 0 16px;
    font-family: 'Roboto', sans-serif;
}

.pt-tos-box {
    width: 100%;
    max-height: 50vh;
    overflow-x: auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    font-size: 14px; 
    padding: 20px 16px;
    background: #ffffff;
    gap: 6px;
}

.pt-tos-box > div { line-height: 1.6; }

.pt-section-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 14px; 
    text-transform: uppercase;
    margin: 8px 0;
}

.pt-indent { padding-left: 8px; }
.pt-double-indent { padding-left: 16px; }
.pt-triple-indent { padding-left: 24px; }

.pt-note-italic { font-style: italic; font-weight: 600; }

.pt-blue-note {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    color: #0970DE;
}

.pt-confirm-heading {
    font-weight: 600;
    font-size: 14px; 
    text-transform: uppercase;
    margin: 8px 0;
    font-family: 'Roboto', sans-serif;
}

.pt-required-star { color: #EE0033; font-weight: 700; }

.pt-checkbox-label {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 8px 0;
}
.pt-checkbox-wrap { width: 16px; flex-shrink: 0; }
.pt-checkbox-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #EF4444;
}
.pt-checkbox-text { display: flex; flex-direction: column; }

.pt-action-strip {
    width: 100%;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px;
    font-size: 14px; 
}

.pt-action-strip .pt-checkbox-label { gap: 8px; }

.pt-btn-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 20px;
    font-size: 14px; 
}

.pt-btn-back {
    display: block;
    border: 1px solid #000;
    padding: 8px 24px;
    border-radius: 6px;
    background: #fff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
}

.pt-btn-confirm {
    border: 1px solid #EE0033;
    padding: 8px 24px;
    border-radius: 6px;
    background: #EE0033;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: inherit;
}

#proccesing-area {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.spinner {
    display: flex;
    align-items: center;
    gap: 4px;
}
.spinner > div {
    width: 8px;
    height: 40px;
    background: #fff;
    animation: stretchdelay 1.2s infinite ease-in-out;
}
.spinner .rect2 { animation-delay: -1.1s; }
.spinner .rect3 { animation-delay: -1.0s; }
.spinner .rect4 { animation-delay: -0.9s; }
.spinner .rect5 { animation-delay: -0.8s; }
@keyframes stretchdelay {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20%            { transform: scaleY(1.0); }
}

@media (min-width: 768px) {
    .pt-body { background-color: #ffffff; }

    .pt-page-wrapper {
        width: 80vw;
        padding: 20px;
        gap: 20px;
    }

    .pt-logo-row { display: flex; }
    .pt-logo-row img { height: 64px; }

    .pt-page-title { font-size: 16px; }

    .pt-tos-box { 
        font-size: 14px; 
        padding: 20px 16px; 
    }

    .pt-indent { padding-left: 20px; }
    .pt-double-indent { padding-left: 40px; }
    .pt-triple-indent { padding-left: 60px; }

    .pt-checkbox-wrap { width: 24px; }
    .pt-checkbox-wrap input[type="checkbox"] { width: 24px; height: 24px; }
    .pt-checkbox-label { gap: 20px; }

    .pt-action-strip {
        border-top: 1px solid #A9ABAD;
        gap: 20px;
        font-size: 1rem;
    }
    .pt-action-strip .pt-checkbox-label { gap: 20px; }

    .pt-btn-row   { 
        font-size: 14px; 
    }
    .pt-btn-back  { padding: 8px 40px; }
    .pt-btn-confirm { padding: 8px 40px; }
}

@media (min-width: 1280px) {
    .pt-page-wrapper { width: 50vw; }
}