/* LUMA — PERSONALIZAÇÃO DO PERFIL */

html[data-theme] .profile-page {
    background: var(--luma-bg);
    color: var(--luma-text);
}

/* CABEÇALHO */

html[data-theme] .profile-page .profile-header {
    background: var(--luma-bg);
    border-color: var(--luma-border);
}

.profile-page .profile-logo {
    color: var(--luma-accent);
}

.profile-page .profile-back {
    color: var(--luma-text-secondary);
}

.profile-page .profile-back:hover {
    color: var(--luma-accent);
}

.profile-page .profile-header-button {
    background: var(--luma-card);
    border-color: var(--luma-border);
    color: var(--luma-accent);
}

.profile-page .profile-header-button:hover {
    background: var(--luma-hover);
}

/* CARDS PRINCIPAIS */

html[data-theme] .profile-page .profile-card,
html[data-theme] .profile-page .profile-section {
    background: var(--luma-card);
    border-color: var(--luma-border);
    box-shadow: var(--luma-shadow);
}

/* AVATAR */

.profile-page .profile-avatar {
    background: var(--luma-pink);
    color: #092633;
    border-color: var(--luma-card);
    box-shadow: 0 0 0 3px var(--luma-pink);
}

/* INFORMAÇÕES DO PERFIL */

.profile-page .profile-main-info h1 {
    color: var(--luma-text);
}

.profile-page .profile-username {
    color: var(--luma-accent);
}

.profile-page .profile-bio,
.profile-page .profile-story {
    color: var(--luma-text-secondary);
}

/* REDES SOCIAIS */

.profile-page .profile-links a {
    background: var(--luma-tag-bg);
    color: var(--luma-tag-text);
    border-color: var(--luma-border);
}

.profile-page .profile-links a:hover {
    background: var(--luma-hover);
}

/* BOTÕES */

.profile-page .profile-edit-button,
.profile-page .profile-follow-button {
    background: var(--luma-accent);
    color: var(--luma-accent-text);
    border-color: var(--luma-accent);
}

.profile-page .profile-edit-button:hover,
.profile-page .profile-follow-button:hover {
    background: var(--luma-accent-hover);
}

.profile-page .profile-follow-button.is-following {
    background: var(--luma-tag-bg);
    color: var(--luma-tag-text);
    border-color: var(--luma-border);
}

.profile-page .profile-follow-button.is-following:hover {
    background: var(--luma-hover);
}

.profile-page .profile-verification-button:not(.verification-status) {
    background: var(--luma-tag-bg);
    color: var(--luma-tag-text);
    border-color: var(--luma-border);
}

/* SEGUIDORES */

.profile-page .profile-follow-stats span {
    color: var(--luma-text-secondary);
}

.profile-page .profile-follow-stats strong {
    color: var(--luma-text);
}

/* SEÇÕES */

.profile-page .profile-section-title h2 {
    color: var(--luma-text);
}

.profile-page .profile-section-label {
    color: var(--luma-accent);
}

.profile-page .profile-section-icon.story,
.profile-page .profile-section-icon.posts {
    background: var(--luma-tag-bg);
    color: var(--luma-tag-text);
}

/* PUBLICAÇÕES */

.profile-page .profile-post-card {
    background: var(--luma-input);
    border-color: var(--luma-border);
}

.profile-page .profile-post-header strong,
.profile-page .profile-post-text {
    color: var(--luma-text);
}

.profile-page .profile-post-card small,
.profile-page .profile-empty {
    color: var(--luma-text-secondary);
}

.profile-page .profile-post-category.alimentacao,
.profile-page .profile-post-category.familias,
.profile-page .profile-post-category.ciencia,
.profile-page .profile-post-category.historias {
    background: var(--luma-tag-bg);
    color: var(--luma-tag-text);
}

/* ELEMENTOS DECORATIVOS FLUTUANTES */

html[data-theme] .profile-page .floating-circle {
    background: var(--luma-pink);
}

html[data-theme="light"] .profile-page .floating-circle {
    opacity: .25;
}

html[data-theme="dark"] .profile-page .floating-circle {
    opacity: .12;
}/* =========================================
   LUMA — MENU DE OPÇÕES DO PERFIL
   ========================================= */

.profile-page .profile-options[hidden],
.profile-page .profile-options-menu[hidden] {
    display: none !important;
}

.profile-page .profile-options {
    position: relative;
    display: inline-flex;
    align-self: flex-start;
    margin: 12px 0;
}

#profile-options-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--luma-input);
    color: var(--luma-text);
    border: 1px solid var(--luma-border);
    border-radius: 12px;
    cursor: pointer;
}

#profile-options-button:hover {
    background: var(--luma-hover);
}

.profile-page .profile-options-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    min-width: 190px;
    padding: 7px;
    background: var(--luma-card);
    border: 1px solid var(--luma-border);
    border-radius: 14px;
    box-shadow: var(--luma-shadow);
}

.profile-page .profile-options-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--luma-text);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}

.profile-page .profile-options-menu button:hover {
    background: var(--luma-tag-bg);
    color: var(--luma-tag-text);
}

.profile-page .profile-options-menu svg {
    width: 17px;
    height: 17px;
}
/* =========================================
   LUMA — DENÚNCIAS DE COMENTÁRIOS
   ========================================= */

.profile-page .comment-report-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--luma-text-secondary);
    padding: 7px 9px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.profile-page .comment-report-button svg {
    width: 13px;
    height: 13px;
}

.profile-page .comment-report-button:hover {
    background: var(--luma-tag-bg);
    color: var(--luma-tag-text);
}

.profile-page .comment-report-button:focus-visible {
    outline: 2px solid var(--luma-accent);
    outline-offset: 2px;
}

html[data-theme="light"]
.profile-page .comment-report-button:hover {
    color: #B82D63;
}
/* =========================================
   LUMA — MODAL DE DENÚNCIA DE PERFIL
   ========================================= */

.profile-page #report-modal {
    box-sizing: border-box;
    width: min(480px, calc(100% - 28px));
    max-height: 90dvh;
    margin: auto;
    padding: 28px;
    background: var(--luma-card);
    color: var(--luma-text);
    border: 1px solid var(--luma-border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    overflow-y: auto;
    font-family: inherit;
}

.profile-page #report-modal::backdrop {
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(5px);
}

.profile-page #report-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-page #report-title {
    font-size: 23px;
    font-weight: 800;
    color: var(--luma-text);
    margin: 0;
}

.profile-page #report-modal svg {
    width: 21px;
    height: 21px;
    color: var(--luma-accent);
}

.profile-page #report-modal fieldset {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.profile-page #report-modal legend {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.profile-page #report-modal fieldset label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    background: var(--luma-input);
    border: 1px solid var(--luma-border);
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.profile-page #report-modal fieldset label:hover,
.profile-page #report-modal fieldset label:has(input:checked) {
    background: var(--luma-tag-bg);
    border-color: var(--luma-accent);
}

.profile-page #report-modal input[type="radio"] {
    accent-color: var(--luma-accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
}

.profile-page #report-modal label {
    font-size: 13px;
    font-weight: 600;
}

.profile-page #report-description {
    box-sizing: border-box;
    width: 100%;
    min-height: 90px;
    padding: 12px;
    border: 1px solid var(--luma-border);
    border-radius: 12px;
    background: var(--luma-input);
    color: var(--luma-text);
    font: inherit;
    font-size: 13px;
    resize: vertical;
}

.profile-page #report-description::placeholder {
    color: var(--luma-text-secondary);
}

.profile-page #report-modal :focus-visible {
    outline: 2px solid var(--luma-accent);
    outline-offset: 2px;
}

.profile-page #report-modal p {
    font-size: 12px;
    line-height: 1.6;
    color: var(--luma-text-secondary);
}

.profile-page #submit-report,
.profile-page #cancel-report {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.profile-page #submit-report {
    background: var(--luma-accent);
    color: var(--luma-accent-text);
    border: none;
}

.profile-page #submit-report:hover {
    background: var(--luma-accent-hover);
}

.profile-page #cancel-report {
    background: transparent;
    color: var(--luma-text-secondary);
    border: 1px solid var(--luma-border);
}

.profile-page #cancel-report:hover {
    background: var(--luma-hover);
}

.profile-page #report-modal button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.profile-page #report-message {
    color: var(--luma-tag-text);
    font-size: 13px;
    font-weight: 600;
}

.profile-page #report-message:empty {
    display: none;
}

html[data-theme="light"] .profile-page #submit-report {
    background: #B82D63;
    color: #FFFFFF;
}

@media (max-width: 600px) {

    .profile-page #report-modal {
        padding: 20px;
        border-radius: 20px;
    }

    .profile-page #report-description {
        font-size: 16px;
    }

}
/* =========================================
   MODAL DE BLOQUEIO LUMA
   ========================================= */

.profile-page #block-modal {
    width: min(460px, calc(100% - 28px));
    max-height: 90dvh;
    box-sizing: border-box;
    margin: auto;
    padding: 28px;
    background: var(--luma-card);
    color: var(--luma-text);
    border: 1px solid var(--luma-border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}

.profile-page #block-modal::backdrop {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
}

.profile-page .block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-page .block-header svg {
    width: 25px;
    height: 25px;
    color: var(--luma-accent);
    flex-shrink: 0;
}

.profile-page .block-header h2 {
    font-size: 22px;
    margin: 0;
    color: var(--luma-text);
}

.profile-page #block-modal p {
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0;
}

.profile-page #block-user-name {
    color: var(--luma-accent);
    overflow-wrap: anywhere;
}

.profile-page .block-consequences {
    padding-left: 20px;
    margin: 20px 0;
    color: var(--luma-text-secondary);
}

.profile-page .block-consequences li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.profile-page .block-consequences li::marker {
    color: var(--luma-accent);
}

.profile-page .block-information {
    background: var(--luma-input);
    border: 1px solid var(--luma-border);
    border-radius: 12px;
    padding: 14px;
    color: var(--luma-text-secondary);
}

.profile-page #block-modal button {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.profile-page #confirm-block {
    background: var(--luma-accent);
    color: var(--luma-accent-text);
    border: none;
    margin-top: 8px;
}

.profile-page #confirm-block:hover {
    background: var(--luma-accent-hover);
}

.profile-page #cancel-block {
    background: transparent;
    color: var(--luma-text);
    border: 1px solid var(--luma-border);
    margin-top: 10px;
}

.profile-page #cancel-block:hover {
    background: var(--luma-hover);
}

.profile-page #block-modal button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.profile-page #block-modal button:focus-visible {
    outline: 2px solid var(--luma-accent);
    outline-offset: 3px;
}

.profile-page #block-message {
    color: var(--luma-accent);
    overflow-wrap: anywhere;
}

.profile-page #block-message:empty {
    display: none;
}

.profile-page #block-profile-button {
    color: var(--luma-accent);
}

@media (max-width: 600px) {

    .profile-page #block-modal {
        padding: 20px;
        border-radius: 20px;
    }

    .profile-page .block-header h2 {
        font-size: 20px;
    }

}
