/* CONTAS DE CLIENTE — PARAÍSO DA MAGIA */

.pdm-account-page {
    min-height: 65vh;
    padding: 55px 0 85px;
    background:
        radial-gradient(ellipse at 50% 0,
            rgba(135, 82, 177, .16), transparent 65%),
        #100d18;
}

.pdm-account-card {
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 35px;
    border: 1px solid rgba(228, 196, 145, .17);
    border-radius: 19px;
    background: #21172e;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .16);
}

.pdm-account-card h1 {
    margin: 15px 0 12px;
    font-family: Georgia, serif;
    font-size: clamp(30px, 5vw, 40px);
    font-weight: 400;
    color: #fff;
}

.pdm-account-intro {
    margin: 0 0 25px;
    color: #c9b8d5;
    font-size: 13px;
    line-height: 1.8;
}

.pdm-account-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.pdm-account-form>label:not(.pdm-account-checkbox) {
    color: #f1e8f8;
    font-size: 12px;
    font-weight: 650;
}

.pdm-account-form>input {
    width: 100%;
    min-height: 46px;
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(218, 190, 255, .23);
    border-radius: 9px;
    outline: none;
    background: #171020;
    color: #fff;
    font: inherit;
    font-size: 13px;
}

.pdm-account-form>input:focus {
    border-color: #a77ade;
}

.pdm-account-consents {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 12px 0;
    padding: 20px;
    border: 1px solid rgba(228, 196, 145, .14);
    border-radius: 12px;
    background: rgba(0, 0, 0, .13);
}

.pdm-account-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #e7dbea;
    font-size: 12px;
    line-height: 1.7;
    cursor: pointer;
}

.pdm-account-checkbox input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #9563bd;
}

.pdm-account-checkbox a,
.pdm-account-bottom a {
    color: #e4c491;
}

.pdm-account-checkbox small {
    display: block;
    margin-top: 5px;
    color: #b9a8c7;
}

.pdm-account-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 47px;
    margin-top: 8px;
    padding: 12px;
    border: 0;
    border-radius: 10px;
    background: #e4c491;
    color: #24182e;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.pdm-account-submit:hover {
    background: #f1d6a8;
}

.pdm-account-bottom,
.pdm-account-help {
    margin: 22px 0 0;
    color: #b9a8c7;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.pdm-account-verify {
    text-align: center;
}

.pdm-account-verify-icon {
    color: #e4c491;
    font-size: 45px;
}

.pdm-account-back {
    display: inline-block;
    margin-top: 22px;
    color: #e4c491;
    font-size: 12px;
    text-decoration: none;
}

.pdm-account-errors,
.pdm-account-success {
    margin: 16px 0;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.6;
}

.pdm-account-errors {
    border: 1px solid rgba(255, 130, 150, .3);
    color: #ffc1cb;
    background: rgba(255, 100, 120, .08);
}

.pdm-account-success {
    border: 1px solid rgba(130, 215, 160, .3);
    color: #b6ecc8;
    background: rgba(130, 215, 160, .08);
}

@media (max-width: 600px) {
    .pdm-account-page {
        padding: 35px 0 65px;
    }

    .pdm-account-card {
        padding: 22px;
    }

    .pdm-account-consents {
        padding: 15px;
    }
}


/* VERIFICAÇÃO DE EMAIL */

.pdm-verification-code-input {
    text-align: center;
    font-size: 30px !important;
    font-weight: 700;
    letter-spacing: .6em;
    font-variant-numeric: tabular-nums;
}

.pdm-verification-resend {
    margin-top: 22px;
}

.pdm-verification-resend button {
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #e4c491;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.pdm-verification-resend button:hover {
    text-decoration: underline;
}


/* TELEMÓVEL INTERNACIONAL */

.pdm-phone-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 8px;
}

.pdm-phone-row select,
.pdm-phone-row input {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(218, 190, 255, .23);
    border-radius: 9px;
    outline: none;
    background: #171020;
    color: #fff;
    font: inherit;
    font-size: 13px;
}

.pdm-phone-row select {
    flex: 0 0 135px;
    max-width: 135px;
    cursor: pointer;
}

.pdm-phone-row input {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.pdm-phone-row select:focus,
.pdm-phone-row input:focus {
    border-color: #a77ade;
}

/* PASSWORD COM BOTÃO MOSTRAR / OCULTAR */

.pdm-password-wrapper {
    position: relative;
    margin-bottom: 4px;
}

.pdm-password-wrapper input {
    width: 100%;
    min-height: 46px;
    padding: 12px 90px 12px 14px;
    border: 1px solid rgba(218, 190, 255, .23);
    border-radius: 9px;
    outline: none;
    background: #171020;
    color: #fff;
    font: inherit;
    font-size: 13px;
}

.pdm-password-wrapper input:focus {
    border-color: #a77ade;
}

.pdm-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #e4c491;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

/* REQUISITOS DE PASSWORD */

.pdm-password-requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 15px;
    margin: 5px 0 18px;
    padding: 15px;
    border: 1px solid rgba(228, 196, 145, .14);
    border-radius: 10px;
    background: rgba(0, 0, 0, .12);
}

.pdm-password-requirements p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #9f92ac;
    font-size: 11px;
    line-height: 1.5;
    transition: color .15s ease;
}

.pdm-password-requirements p span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(185, 168, 199, .35);
    border-radius: 50%;
    font-size: 11px;
}

.pdm-password-requirements p.is-valid {
    color: #86ddb0;
}

.pdm-password-requirements p.is-valid span {
    border-color: #40996d;
    background: rgba(64, 153, 109, .17);
    color: #86ddb0;
}

/* CONFIRMAÇÃO DA PASSWORD */

.pdm-password-match {
    min-height: 16px;
    margin: 0 0 6px;
    font-size: 11px;
}

.pdm-password-match.is-valid {
    color: #86ddb0;
}

.pdm-password-match.is-invalid {
    color: #ffa8b3;
}

@media (max-width: 480px) {
    .pdm-phone-row {
        gap: 7px;
    }

    .pdm-phone-row select {
        flex-basis: 115px;
        max-width: 115px;
        padding: 8px 5px;
    }

    .pdm-password-requirements {
        grid-template-columns: 1fr;
    }
}


/* ALERTAS FLUTUANTES */

.pdm-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(390px, calc(100vw - 32px));
    pointer-events: none;
}

.pdm-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #6d3b46;
    border-left: 4px solid #ff788d;
    border-radius: 12px;
    background: #261923;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    pointer-events: auto;
    animation: pdm-toast-in .3s ease both;
}

.pdm-toast--success {
    border-color: #326a50;
    border-left-color: #6cdaa3;
    background: #192b25;
}

.pdm-toast-icon {
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 120, 141, .15);
    color: #ff9bab;
    font-size: 17px;
    font-weight: 800;
}

.pdm-toast--success .pdm-toast-icon {
    background: rgba(108, 218, 163, .15);
    color: #6cdaa3;
}

.pdm-toast-message {
    flex: 1;
    padding-top: 3px;
    font-size: 13px;
    line-height: 1.6;
}

.pdm-toast-close {
    padding: 0 2px;
    border: none;
    background: none;
    color: #cab9d0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.pdm-toast.is-leaving {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .25s ease, transform .25s ease;
}

@keyframes pdm-toast-in {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 600px) {
    .pdm-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pdm-toast,
    .pdm-toast.is-leaving {
        animation: none;
        transition: none;
    }
}

.pdm-profile-help {
    margin: 0 0 12px;
    color: #b9a8c7;
    font-size: 11px;
    line-height: 1.7;
}

.pdm-account-form input[readonly] {
    background: rgba(255, 255, 255, .035);
    color: #b9a8c7;
    cursor: default;
}