@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: "Myriad Pro";
    src: url("../fonts/MYRIADPRO-BOLD.OTF") format("opentype") local("Myriad Pro Bold");
}

/* Reset e Base */
:root {
    --primary-dark: rgb(46, 41, 46);
    --primary-dark-transparent: rgba(46, 41, 46, 0.5);
    --primary-color: #9c27b0;
    --primary-color-transparent: rgba(156, 39, 176, 0.5);
    --secondary-color: #3b145f;
    --secondary-color-transparent: rgba(59, 20, 95, 0.5);
    --btnSuccess-bg: rgb(82, 162, 49);
    --btnSuccess-hover-bg: rgba(82, 162, 49, 0.4);
    --textSuccess-color: rgb(32, 62, 19);
    --btnError-bg: rgb(163, 97, 77);
    --btnError-hover-bg: rgba(80, 23, 6, 0.4);
    --btnInfo-bg: rgb(23, 55, 209);
    --btnInfo-hover-bg: rgba(23, 55, 209, 0.4);
    --btnWarning-bg: rgb(240, 204, 1);
    --btnWarning-hover-bg: rgba(240, 204, 1, 0.4);
    --fontColorWhite: #ffffff;
    --fontColorBlack: #333333;
    --fontColorLight: #bbbbbb;
    --alertSuccess-bg: rgba(82, 162, 49, 0.3);
    --alertError-bg: rgba(163, 97, 77, 0.3);
    --alertInfo-bg: rgba(23, 55, 209, 0.3);
    /* --background-gradient135deg: linear-gradient(135deg, rgb(156, 39, 176) 0%, rgb(59, 20, 95) 100%); */
    --background-gradient135deg: linear-gradient(135deg, #3b145f 0%, #764ba2 35%, #667eea 100%);
    /* --background-gradient45deg: linear-gradient(45deg, rgb(156, 39, 176) 0%, rgb(59, 20, 95) 100%); */
    --background-gradient45deg: linear-gradient(45deg, #3b145f 0%, #764ba2 50%, #667eea 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-gradient135deg);
    color: var(--fontColorBlack);
    min-height: 100vh;
    /* background-image: url(../img/background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; */
}
.mascara {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}
a {
    text-decoration: none;
    color: inherit;
    font-family: 'Poppins', sans-serif;
}

a,
button,
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
div,
input,
textarea,
select {
    font-family: 'Poppins', sans-serif;
}

.logo_gift {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--fontColorWhite);
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 700;
    color: #ccccfc;
    font-family: Arial, Helvetica, sans-serif;
}

.logo_gift img {
    height: 20px;
    width: auto;
}
.logo_gift span {
    font-size: .9rem;
}
.logo_login {
    height: 80px;
    width: auto;
    animation: bounce 2s infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Screens */
.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

/* Splash Screen */
.splash-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--background-gradient135deg);
    color: var(--fontColorWhite);
}

.splash-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 30px;
}

.gift-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.splash-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 700
}

.tagline {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Splash Loading Bar */
.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    width: 0;
    height: 100%;
    background: var(--fontColorWhite);
    border-radius: 2px;
    animation: loading 3s ease-in-out forwards;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--background-gradient45deg);
}

.register-page {
    min-height: 100vh;
    padding: 20px;
    margin: auto;
    background: var(--background-gradient45deg);
}

.password-requirements {
    font-size: 0.9em;
    color: var(--fontColorLight);
    padding: .2rem;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.register-card {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
    margin: auto;
    max-width: 800px;
}

.login-header,
.register-header,
.verify-header {
    text-align: center;
    /* margin-bottom: 30px; */
}

.login-header i,
.register-header i,
.verify-header i {
    color: var(--secondary-color);
    font-size: 60px;
    /* margin-bottom: 20px; */
}

.login-header h2,
.register-header h2,
.verify-header h2 {
    color: var(--fontColorWhite);
    /* margin-bottom: 10px; */
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 700
}

.login-header p,
.register-header p,
.verify-header p {
    color: var(--secondary-color);
    font-size: 14px;
}

.login-form,
.register-form,
.verify-form {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    /* margin-bottom: 8px; */
    font-weight: 500;
    font-size: .9rem;
    color: var(--fontColorLight);
}

.form-group label i {
    margin-right: 5px;
    color: var(--fontColorLight);
    width: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--fontColorWhite);
    border-radius: 16px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    margin-bottom: 16px;
}

#createGroupForm .form-group {
    margin-bottom: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px var(--primary-color);
    background: var(--fontColorWhite);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--fontColorWhite);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group textarea {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) rgba(255, 255, 255, 0.1);
    background-clip: padding-box;
}

/* Firefox já usa scrollbar-width / scrollbar-color acima */
/* WebKit (Chrome, Edge, Safari) */
.form-group textarea::-webkit-scrollbar {
    width: 10px;
}

.form-group textarea::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    margin: 4px;
    /* evita cantos quadrados */
}

.form-group textarea::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Secret Friend Modal */
.secret-friend-modal {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(155, 39, 176, 0.85), rgba(59, 20, 95, 0.85));
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.secret-modal-body {
    position: relative;
    padding: 28px 24px 32px;
    text-align: center;
    overflow: hidden;
}

.secret-modal-body .confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
}

.secret-label {
    margin: 8px 0 4px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.secret-name {
    font-size: 28px;
    font-weight: 700;
    margin: 6px 0 2px;
    color: #fff;
}

.secret-email {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.gift-icon-large {
    font-size: 60px;
    color: #fff;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes identifierFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(5px);
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(0px);
        transform: translateY(0);
    }

}

.btn {
    /* Variáveis com defaults (sobrescritas pelas variantes) */
    --btn-bg-start: var(--primary-color);
    --btn-bg-end: var(--secondary-color);
    --btn-shadow: var(--primary-color-transparent);
    color: var(--fontColorWhite);
    border: none;
    padding: .7rem 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--btn-bg-start), var(--btn-bg-end));
    box-shadow: 0 1px 20px var(--btn-shadow);
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 120%;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:disabled {
    background: var(--fontColorLight);
    color: var(--fontColorWhite);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Variantes (somente alteram cores/ sombras) */
.btn-primary {
    --btn-bg-start: var(--primary-color);
    --btn-bg-end: var(--secondary-color);
    --btn-shadow: var(--primary-color-transparent);
}

.btn-secondary {
    --btn-bg-start: var(--secondary-color);
    --btn-bg-end: var(--primary-dark);
    /* --btn-shadow: var(--fontColorWhite); */
    background: var(--fontColorWhite);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-success {
    --btn-bg-start: var(--btnSuccess-bg);
    --btn-bg-end: var(--textSuccess-color);
    --btn-shadow: var(--primary-color-transparent);
}

.btn-warning {
    --btn-bg-start: var(--btnWarning-bg);
    --btn-bg-end: var(--btnWarning-hover-bg);
    --btn-shadow: var(--primary-color-transparent);
}

.btn-info {
    --btn-bg-start: var(--btnInfo-bg);
    --btn-bg-end: var(--btnInfo-hover-bg);
    --btn-shadow: var(--primary-color-transparent);
}

.btn-error {
    --btn-bg-start: var(--btnError-bg);
    --btn-bg-end: var(--btnError-hover-bg);
    --btn-shadow: var(--primary-color-transparent);
}

/* Botão ícone (mantido) */
.btn-icon {
    background: none;
    border: none;
    padding: 10px;
    border-radius: 50%;
    /* cursor: pointer; */
    color: var(--fontColorWhite);
    font-size: 18px;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.login-footer {
    text-align: center;
}

.login-footer a {
    color: var(--fontColorWhite);
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.login-footer a:hover {
    /* text-decoration: underline; */
    color: var(--secondary-color);
}

/* Login page specific styles */
.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.back-home:hover {
    /* text-decoration: underline; */
    color: var(--fontColorWhite);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    font-size: .8rem;
}

.alert-error {
    background: var(--alertError-bg);
    color: var(--btnError-hover-bg);
    border: 1px solid var(--alertError-bg);
}

.alert-warning {
    background: var(--btnWarning-hover-bg);
    color: var(--btnWarning-bg);
    font-size: .8rem;
    border: 1px solid var(--btnWarning-bg);
}

.alert-success {
    background: var(--alertSuccess-bg);
    color: var(--btnSuccess-bg);
    font-size: .8rem;
    border: 1px solid var(--btnSuccess-bg);
}

.alert-info {
    background: var(--alertInfo-bg);
    color: var(--btnInfo-bg);
    font-size: .8rem;
    border: 1px solid var(--btnInfo-bg);
}

.text-info {
    color: var(--btnInfo-bg);
}

.text-warning {
    color: var(--btnWarning-bg);
}

.text-success {
    color: var(--textSuccess-color);
}

.text-error {
    color: var(--btnError-bg);
}

.text-white {
    color: var(--fontColorLight);
    font-size: .8rem;
    text-align: center;
    margin: 15px;
}

/* Header */
.header {
    background: var(--background-gradient135deg);
    backdrop-filter: blur(10px);
    color: var(--fontColorWhite);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    /* padding: .8rem; */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.header h1 {
    font-size: 22px;
    font-weight: bold;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Main Content */
.main-content {
    padding: 20px 0;
    min-height: calc(100vh - 80px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h2 {
    color: var(--fontColorWhite);
    font-size: 28px;
}

.status-chip {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-chip.pendente {
    background: var(--btnWarning-hover-bg);
    color: var(--btnWarning-bg);
    border: 1px solid var(--btnWarning-bg);
    font-weight: 600;
}

.status-chip.em_andamento {
    background: var(--btnSuccess-hover-bg);
    color: var(--textSuccess-color);
    border: 1px solid var(--btnSuccess-bg);
    font-weight: 600;
}

.status-chip.finalizado {
    background: var(--btnInfo-hover-bg);
    color: var(--btnInfo-bg);
    border: 1px solid var(--btnInfo-bg);
    font-weight: 600;
}

/* Group Details */
.group-details {
    background: var(--fontColorWhite);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.group-details h3 {
    color: var(--fontColorBlack);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--fontColorLight);
    padding-bottom: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

.detail-item i {
    width: 20px;
    margin-right: 15px;
    color: var(--secondary-color);
}

.detail-item .label {
    font-weight: 500;
    margin-right: 10px;
    min-width: 120px;
}

.detail-item .value {
    color: var(--fontColorBlack);
}

.participants-section h3 {
    color: var(--fontColorBlack);
    margin-bottom: 20px;
    /* border-bottom: 2px solid var(--fontColorLight); */
    padding-bottom: 10px;
}

.participant-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: var(--fontColorWhite);
    margin-bottom: 10px;
    transition: all 0.3s;
}

.participant-card:hover {
    background: var(--fontColorLight);
}

.participant-actions {
    display: flex;
    gap: 10px;
}

.btn-remove {
    background: var(--btnError-hover-bg);
    color: var(--btnError-bg);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: var(--btnError-bg);
    color: var(--fontColorWhite);
}

.group-rules-section,
.participants-section {
    padding: 16px;
}

/* Secret Friend Section */
.secret-friend-section {
    text-align: center;
    margin-bottom: 30px;
}

.secret-friend-reveal {
    text-align: center;
    padding: 20px;
}

/* FAB */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--fontColorWhite);
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--fontColorLight);
}

.loading i {
    font-size: 24px;
    margin-bottom: 10px;
}

/* ============= STATUS BADGES PADRONIZADOS ============= */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 10px;
}

.status-badge i {
    font-size: 6px;
}

.status-pendente {
    background: var(--btnWarning-hover-bg);
    color: var(--btnWarning-bg);
    border: 1px solid var(--btnWarning-bg);
    font-weight: 600;
}

.status-em_andamento {
    background: var(--btnSuccess-hover-bg);
    color: var(--textSuccess-color);
    border: 1px solid var(--btnSuccess-bg);
    font-weight: 600;
}

.status-finalizado {
    background: var(--btnInfo-hover-bg);
    color: var(--btnInfo-bg);
    border: 1px solid var(--btnInfo-bg);
    font-weight: 600;
}

/*===============================================================*/
/* Hamburger e sidebar responsivos */
.hamburger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--fontColorWhite);
    margin: 3px 0;
    transition: 0.3s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/*============================ MENU ============================*/
/* ============================================================= */
/* .header-content a {
    
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
} */

.header-actions>li {
    font-family: 'Poppins', sans-serif;
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}

.header-actions>li:not(:last-child) {
    margin-right: 4px;
}

.item-info-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 10px;
    color: var(--fontColorWhite);
    font: inherit;
    border-radius: 12px;
    transition: background .25s, transform .25s;
}

.item-info-btn:hover,
.item-info-btn:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.user-avatar,
.info-notifications,
.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.user-avatar img,
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.edit-avatar-btn {
    position: absolute;
    bottom: 5px;
    right: 30%;
    width: 32px;
    height: 32px;
}

.profile-card {
    border-radius: 30px;
    padding: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    gap: 20px;
}

.forgot-card {
    color: var(--fontColorLight);
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--fontColorWhite);
}

.profile-section h2 {
    font-size: 20px;
}

.info-notifications {
    background: var(--btnWarning-bg);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    gap: 10px;
    margin-bottom: 1rem;
}

.profile-header h2 {
    color: var(--fontColorWhite);
    font-size: 20px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.profile-actions .btn {
    width: 100%;
    font-size: .8rem;
    font-family: 'Poppins';
    text-wrap: nowrap;
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 6px;
    /* background-color: var(--btnWarning-hover-bg); */
    color: var(--btnError-bg);
    font-size: .8rem;
    font-weight: 700;
    padding: 0px 3px;
    border-radius: 12px;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); */
    line-height: 1;
}

.destak {
    font-weight: 600;
    color: var(--secondary-color);
}

#subMenuNotifications li {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
}

#subMenuNotifications li:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    width: 300px;
    left: 40px;
    top: 50px;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: .8rem;
    color: var(--secondary-color);
    background: var(--fontColorWhite);
    z-index: 1100;
}

.user-submenu {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 5px;
    min-width: 170px;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: submenuFade .3s ease;
}

.user-submenu li {
    list-style: none;
}

.user-submenu li a:not(.notification-item a) {
    width: 100%;
    color: var(--secondary-color);
    font-size: .8rem;
    display: block;
    padding: 5px 10px;
    border-radius: 10px;
    transition: background .25s, color .25s;
    text-wrap: nowrap;
}

.notification-item a {
    color: var(--secondary-color-transparent);
}

.user-submenu.open {
    display: flex;
}

.user-submenu .btn-icon {
    width: 100%;
    min-width: 270px;
    font-size: .7rem;
    justify-content: flex-start;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    transition: background .25s, color .25s;
}

.user-submenu .btn-icon:hover,
.user-submenu .btn-icon:focus-visible {
    background: var(--primary-color-transparent);
    color: var(--fontColorWhite);
}

@keyframes submenuFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-requirements small {
    display: block;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--fontColorBlack);
}

/* Responsividade */
@media (max-width: 767px) {
    .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
        /* display: grid; */
        place-items: center;
        background: var(--secondary-color);
        box-shadow: none;
    }

    .group-body-details,
    .suggestions-participants-section {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .register-page {
        padding: 5px;
    }

    .register-card {
        padding: 8px;
    }

    .header-actions.open {
        width: 100%;
    }

    .header-content h1 {
        font-size: 18px;
    }

    .btn {
        font-size: 1.1rem;
        padding: 0.7rem 2rem;
        border-radius: 12px;
        /* width: 100%; ver se está interferindo em outros elementos */
    }

    .profile-header {
        flex-direction: column;
        gap: 8px;
    }

    .profile-header h2 {
        font-size: 16px;
        width: auto;
    }

    .profile-section {
        align-items: center;
        text-align: center;
    }

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions {
        width: 100%;
    }

    .group-body-details,
    .suggestions-participants-section {
        grid-template-columns: 1fr !important;
    }

    .login-page {
        padding: 10px;
    }

    .login-card {
        padding: 10px 12px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        outline: none;
        padding: 16px 10px;
        border-color: var(--secondary-color);
        /* box-shadow: 0 0 0 4px var(--primary-color); */
        background: var(--fontColorWhite);
        transform: translateY(-2px);
        border-radius: 12px;
    }

    .login-form,
    .register-form {
        margin-bottom: 0;
    }
}

.introjs-skipbutton {
    font-size: .9rem;
    color: #3b145f;
}

.introjs-button {
    color: #fff;
    border: none;
    padding: .5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #3b145f, #5a2a8a);
    box-shadow: 0 1px 10px var(--btn-shadow);
    font-size: .9rem;
}