/* PARAÍSO DA MAGIA — MENU DA CONTA */

.pdm-profile-menu {
    position: relative;
    flex: 0 0 auto;
    z-index: 1000;
}

.pdm-profile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(228, 196, 145, .2);
    border-radius: 50%;
    background: transparent;
    color: #e4c491;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    list-style: none;
}

.pdm-profile-trigger::-webkit-details-marker {
    display: none;
}

.pdm-profile-trigger::marker {
    content: "";
}

.pdm-profile-trigger:hover,
.pdm-profile-menu[open] .pdm-profile-trigger {
    background: rgba(228, 196, 145, .12);
    border-color: rgba(228, 196, 145, .55);
}

.pdm-profile-dropdown {
    position: absolute;
    top: calc(100% + 13px);
    right: 0;
    width: min(310px, calc(100vw - 24px));
    padding: 12px;
    border: 1px solid rgba(228, 196, 145, .22);
    border-radius: 15px;
    background: #21172e;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
    color: #fff;
    animation: pdm-profile-appear .18s ease-out;
}

.pdm-profile-user {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 13px 15px;
    border-bottom: 1px solid rgba(228, 196, 145, .14);
}

.pdm-profile-user strong {
    font-size: 14px;
    color: #f3e9f8;
}

.pdm-profile-user small {
    font-size: 11px;
    color: #bbaac7;
    overflow-wrap: anywhere;
}

.pdm-profile-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 0;
}

.pdm-profile-links a,
.pdm-profile-logout button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 13px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #e6d9ef;
    font: inherit;
    font-size: 12px;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.pdm-profile-links a:hover {
    background: rgba(228, 196, 145, .10);
    color: #f0d5a7;
}

.pdm-profile-links a span,
.pdm-profile-logout button span {
    width: 21px;
    text-align: center;
    font-size: 15px;
}

.pdm-profile-logout {
    margin: 0;
    padding-top: 9px;
    border-top: 1px solid rgba(228, 196, 145, .14);
}

.pdm-profile-logout button {
    color: #ffb2bf;
}

.pdm-profile-logout button:hover {
    background: rgba(255, 120, 141, .10);
}

@keyframes pdm-profile-appear {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .pdm-profile-trigger {
        width: 38px;
        height: 38px;
    }

    .pdm-profile-dropdown {
        right: -45px;
    }
}