html, body {
    overflow-x: hidden !important;
    width: 100%;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CeraPro';
    src: url('font/CeraPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'CeraPro', Arial, sans-serif;
    background-color: #000;
    color: #e0e0e0;
    margin: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

.wrapper {
    width: 360px;
    padding: 20px;
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 50px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 95%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.btn {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

.error {
    color: red;
    margin-top: 10px;
}

.top-nav {
    background-color: #1f1f1f;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
}

.top-nav a {
    color: #f2f2f2;
    text-align: center;
    padding: 10px 12px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 20px;
    margin: 0 5px;
    transition: background-color 0.3s, color 0.3s;
}

.top-nav a:hover {
    background-color: #ddd;
    color: black;
}

.top-nav a.active {
    background-color: #FF69B4;
    color: white;
}

.container {
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
}

.parent-category-section {
    margin-bottom: 25px;
    box-sizing: border-box;
    width: 100%;
    /* Removido position: relative e top: 140px; */
}

.parent-category-title {
    font-size: 0.95em;
    color: #eaeaea;
    margin-bottom: 10px;
    font-weight: bold;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.8px;
	margin-top: 30px;
}

.arrow-icon {
    display: inline-block;
    width: 28px;
    height: 18px;
    background-image: url('../uploads/setalado.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.category-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px 0px 20px 0px;
    gap: 8px;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-item {
    border-radius: 8px;
    overflow: hidden;
    width: 150px;
    min-height: 200px;
    background-color: #2a2a2a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
}

.category-item a {
    text-decoration: none;
    color: #e0e0e0;
    display: block;
    height: 100%;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-overlay-text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    text-align: center;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0px;
    padding: 5px;
}

.category-overlay-text h3 {
    margin: 0;
    font-size: 0.9em;
    color: #ffffff;
    position: relative;
    top: 1px;
    font-weight: 300;
    width: 135px;
    white-space: normal;
    word-break: break-word;
    display: inline-block;
}

.image-overlay-bg {
    display: none;
}

.category-item:hover {
    transform: translateY(-5px);
}

.sticker-list, .sticker-grid {
    display: flex;
    gap: 25px;
    padding-top: 10px;
    padding-bottom: 20px;
    margin-top: 160px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.sticker-item {
    position: relative;
    width: 200px;
    height: 230px;
    background-color: #000000;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgb(255 255 255 / 14%), 0 -2px 4px rgb(255 255 255 / 28%) inset;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    zoom: 2;
}

.sticker-item img.sticker-image {
    display: block;
    width: 140px;
    height: 120px;
    object-fit: cover;
}

.favorite-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    z-index: 10;
    cursor: pointer;
}

.sticker-grid .sticker-item .sticker-image-wrapper {
    width: 100%;
    height: 120px;
    position: relative;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticker-grid .sticker-item .sticker-name {
    text-align: center;
    font-size: 0.85em;
    color: #ccc;
    padding: 0 5px;
    word-wrap: break-word;
    margin-top: 5px;
}

.sticker-item .sticker-name-display {
    font-size: 0.85em;
    position: relative;
    top: 0;
    right: 0;
    text-align: center;
    color: #ffffff00;
    padding: 5px;
    word-wrap: break-word;
    margin-top: 5px;
}

.page-header {
    text-align: center;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-header h1 {
    color: #FF69B4;
    margin-bottom: 10px;
}

.back-link a {
    color: #FF69B4;
    text-decoration: none;
    font-size: 1em;
}

.back-link a:hover {
    text-decoration: underline;
}

.copy-message {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(137 0 161 / 55%);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-message.show {
    opacity: 1;
}

.copy-message img {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .sticker-list, .sticker-grid {
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 20px !important;
    }
    .sticker-item {
        width: calc(50% - 5px);
        height: 190px;
        zoom: 1;
    }
    .sticker-item .sticker-image {
        height: 100px;
    }
    .sticker-item .sticker-name-display {
        font-size: 0.1em;
    }

    .category-page-header-simple {
        display: flex !important;
        align-items: center !important;
        background-color: #121212 !important;
        color: #fff !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000 !important;
        box-sizing: border-box !important;
        height: 60px !important;
        padding: 0 15px !important;
        font-size: 15px !important;
    }

    .category-back-icon-simple {
        height: 25px !important;
        width: auto !important;
        display: block !important;
        position: relative !important;
        left: -3px !important;
    }
}

@media (max-width: 380px) {
    .sticker-item {
        height: 140px;
    }
    .sticker-item .sticker-image {
        height: 90px;
    }
    .sticker-item .sticker-name-display {
        font-size: 0.6em;
    }
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;
    background-color: #000;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo-container {
    margin-bottom: 15px;
}

#figurify-logo {
    height: 40px;
    width: auto;
}

.top-nav-modified {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    zoom: 1;
}

.nav-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #fff;
    border-radius: 25px;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

.nav-item:hover {
    background-color: #333;
    color: #fff;
}

.nav-item.active {
    background: linear-gradient(90deg, rgb(97 0 152) 0%, rgb(166 1 167) 100%);
    color: #ffffff;
    border-color: #b72cd8;
}

body.header-container-active {
    padding-top: 120px; /* Ajustado para um valor consistente */
}

@media (max-width: 480px) {
    #figurify-logo {
        height: 55px;
    }
    .nav-item {
        font-size: 12px;
        padding: 6px 10px;
    }
    .nav-icon {
        width: 14px;
        height: 14px;
        margin-right: 5px;
    }
    .top-nav-modified {
        gap: 5px;
    }
    .header-search-icon-container {
        position: absolute;
        top: 25px;
        right: 15px;
    }
    body.header-container-active {
        padding-top: 110px; /* Ajustado para um valor consistente em mobile */
    }
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
    color: #555;
}

.category-page-header-simple {
    display: flex;
    align-items: center;
    background-color: #121212;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    height: 140px;
    padding: 0 15px;
    font-size: 35px;
}

a.category-back-button-simple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    z-index: 10;
}

.category-back-icon-simple {
    height: 60px;
    width: auto;
    display: block;
    position: relative;
    left: 30px;
}

.category-title-simple {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    text-align: center;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-with-simple-header {
    padding-top: 60px !important;
}

.no-favorites-message {
    color: #ccc;
    text-align: center;
    padding: 30px 0;
    font-size: 1.2em;
    width: 100%;
}

.copy-feedback {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.copy-feedback.show {
    opacity: 1;
    visibility: visible;
}

.footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #040303;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #333;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

.footer-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 15px;
    flex-grow: 1;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-menu-item img {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    border-radius: 15px;
}

.footer-menu-item:hover,
.footer-menu-item.active {
    color: #FF69B4;
}

.profile-side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #070707;
    box-shadow: -3px 0 10px rgb(98 95 95 / 30%);
    z-index: 1002;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.profile-side-menu.open {
    right: 0;
}

.profile-menu-header {
    padding: 20px;
    background-color: #0c0b0b;
    text-align: center;
    position: relative;
}

.close-profile-menu {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #f2f2f2;
    font-size: 28px;
    cursor: pointer;
}

.profile-info {
    margin-top: 10px;
}

.profile-picture-container {
    margin-bottom: 15px;
}

#profile-menu-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #38004d;
    object-fit: cover;
    margin-bottom: 10px;
}

#change-profile-picture-button {
    background: linear-gradient(90deg, rgb(97 0 152) 0%, rgb(166 1 167) 100%);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

#profile-menu-name {
    color: #f2f2f2;
    font-size: 1.2em;
    margin-bottom: 5px;
}

#profile-menu-subscription {
    color: #ccc;
    font-size: 0.9em;
}

.profile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
}

.profile-menu-nav a {
    padding: 12px 20px;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    background-color: #161515;
    margin: 3px;
    border-radius: 5px;
}

.profile-menu-nav a img {
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

.profile-menu-nav a:hover {
    background-color: #3a3a3a;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
}

.modal {
    position: fixed;
    z-index: 1005;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    background-color: #111111;
    margin: 15% auto;
    padding: 25px;
    border: 1px solid #6d009a;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #f6f6f6;
}

.modal-content h2 {
    margin-top: 0;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #ccc;
}

.modal-content input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    box-sizing: border-box;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, rgb(97 0 152) 0%, rgb(166 1 167) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

#change-password-modal button#save-new-password-button:hover {
    background-color: #e05aaa;
}

#password-change-message {
    margin-top: 15px;
    font-size: 0.9em;
}

.sticker-theme-toggle-button {
    position: fixed;
    bottom: 480px;
    right: 20px;
    background-color: rgba(44, 44, 44, 0.9);
    border: 1px solid #555;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

.sticker-theme-toggle-button:hover {
    background-color: rgba(60, 60, 60, 0.95);
}

.sticker-theme-toggle-button img {
    width: 28px;
    height: 28px;
}

.sticker-item.sticker-item-light-mode {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 -2px 4px rgba(0, 0, 0, 0.05) inset;
}

.sticker-item.sticker-item-light-mode .sticker-name-display {
    color: #ffffff;
}

.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1010;
    padding-top: 10%;
}

.search-modal-content {
    background-color: #131313;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.search-modal-close-button {
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
}

.search-modal-close-button:hover {
    color: #fff;
}

.search-modal-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #2d2d2d;
    color: #fff;
    font-size: 1em;
    box-sizing: border-box;
}

.search-modal-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, rgb(97 0 152) 0%, rgb(166 1 167) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-modal-button:hover {
    background-color: #d81b60;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-search-icon-container {
    padding: 0;
    flex-shrink: 0;
}

#header-search-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.category-page-header-simple {
    justify-content: space-between;
}

.header-search-icon-container-internal {
    padding-right: 15px;
}

#header-search-icon-internal {
    width: 32px;
    height: 32px;
    cursor: pointer;
}


