/* ===== RESET & VARIÁVEIS (Tema Claro) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

:root {
    --bg-primary: #f5f5f8;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #2d2d2d;
    --text-secondary: #6b6b6b;
    --accent: #ff7a00;
    --accent-light: #ffb259;
    --accent-dark: #e06e00;
    --border: #e0e0e0;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --header-height: 60px;
    --bottom-nav-height: 70px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== SIDEBAR ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100%;
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    z-index: 100;
    transition: left 0.3s ease;
    padding: 20px 15px;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}
.sidebar.active {
    left: 0;
}
.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}
.sidebar-header .avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid var(--accent);
    color: var(--accent);
}
.sidebar-header .user-info h4 {
    font-size: 16px;
    color: var(--text-primary);
}
.sidebar-header .user-info p {
    font-size: 13px;
    color: var(--accent);
}
.sidebar-menu {
    list-style: none;
    margin-top: 10px;
}
.sidebar-menu li {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.2s;
}
.sidebar-menu li:hover {
    background: rgba(255,122,0,0.05);
}
.sidebar-menu li i {
    width: 24px;
    color: var(--accent);
}
.sidebar-menu .localcoins-badge {
    background: rgba(255,122,0,0.1);
    border-radius: 30px;
    padding: 5px 12px;
    color: var(--accent);
    font-weight: bold;
    margin-left: auto;
}
.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: 15px 0;
}

/* ===== HEADER ===== */
.app-header {
    height: var(--header-height);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 90;
}
.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.menu-icon, .search-icon, .avatar-icon, .logout-icon {
    font-size: 20px;
    cursor: pointer;
    color: var(--text-primary);
}
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--text-primary);
}
.logo i {
    font-size: 24px;
    color: var(--accent);
}
.avatar-icon {
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 1.5px solid var(--accent);
    color: var(--accent);
}

/* ===== BARRA DE PESQUISA ===== */
.search-bar {
    background: var(--bg-surface);
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    display: none;
}
.search-bar.active {
    display: block;
}
.search-bar input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    font-size: 16px;
    outline: none;
}
.search-bar input:focus {
    border-color: var(--accent);
}

/* Botão de busca */
#searchBtn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
#searchBtn:hover {
    background: var(--accent-dark);
}

/* ===== TICKER ===== */
.ticker-container {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}
.ticker {
    display: inline-block;
    animation: tickerMove 30s linear infinite; /* altere o 25s para um valor menor (ex: 15s) para mais rápido */
    font-size: 14px;
    color: var(--accent);
}
.ticker span {
    margin-right: 10px;
}
.ticker i {
    margin: 0 10px;
    color: var(--text-secondary);
}
@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== CAIXA DE PUBLICAÇÃO ===== */
.post-box {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 16px;
    margin: 16px 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--border);
}
.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
}
.post-input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 15px;
    cursor: text;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
#main-content {
    flex: 1;
    padding: 0 0 0px 0;
}
.container {
    padding: 0 12px;
}

/* CARDS DE FEED */
.feed-card {
    background: var(--bg-surface);
    border-radius: 20px;
    margin: 16px 12px;
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent);
}
.card-user h4 {
    font-size: 18px;
    color: var(--accent);
}
.card-user p {
    font-size: 11px;
    color: var(--text-secondary);
}
.badge-sponsored {
    background: rgba(255,122,0,0.1);
    color: var(--accent);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 10px;
    margin-left: auto;
    border: 1px solid var(--accent);
}
.card-image {
    width: 100%;
    height: auto;
    background: #f0f0f0;
    border-radius: 15px;
    margin: 10px 0;
    display: block;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-secondary);
}
.card-actions {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 8px;
}
.action-group {
    display: flex;
    gap: 20px;
}
.action-group i {
    font-size: 22px;
    cursor: pointer;
    color: var(--text-secondary);
}
.validation-buttons {
    display: flex;
    gap: 8px;
}
.validation-buttons button {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-real {
    background: rgba(76, 175, 146, 0.1);
    border-color: #4caf92 !important;
    color: #4caf92 !important;
}
.btn-fake {
    background: rgba(255, 77, 109, 0.1);
    border-color: #ff4d6d !important;
    color: #ff4d6d !important;
}
.location-info {
    font-size: 12px;
    color: var(--accent);
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* MISSÕES */
.mission-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 12px;
}
.mission-item {
    background: var(--bg-surface);
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.mission-info h3 {
    font-size: 16px;
    color: var(--text-primary);
}
.mission-info p {
    font-size: 12px;
    color: var(--text-secondary);
}
.claim-btn {
    background: var(--accent);
    border: none;
    color: white;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
}
.claim-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* CHAT GLOBAL */
.chat-container {
    background: var(--bg-surface);
    border-radius: 25px;
    padding: 10px;
    height: 80vh;;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    margin: 16px 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
 
.chat-messages {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.message {
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 18px;
    max-width: 80%;
    align-self: flex-start;
    color: var(--text-primary);
}
.message.own {
    background: var(--accent);
    color: white;
    align-self: flex-end;
}
.chat-input-area {
    display: flex;
    gap: 8px;
}
.chat-input-area input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 10px 15px;
    color: var(--text-primary);
}
.chat-input-area button {
    background: var(--accent);
    border: none;
    border-radius: 30px;
    padding: 10px 18px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

/* BOTTOM NAVIGATION */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-height);
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 90;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.2s;
}
.nav-item.active {
    color: var(--accent);
}
.nav-item i {
    font-size: 22px;
}

/* UTILS */
.localcoins-header {
    background: var(--bg-surface);
    padding: 15px;
    border-radius: 30px;
    margin: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--accent);
    box-shadow: var(--shadow);
}
.lc-amount {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
}
.login-streak {
    background: var(--bg-surface);
    border-radius: 40px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    margin: 10px 12px;
    border: 1px solid var(--border);
}
.day-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-secondary);
}
.day-badge.active {
    background: var(--accent);
    color: white;
}

/* MODAL GERAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--bg-surface);
    width: 90%;
    max-width: 500px;
    border-radius: 30px;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-content textarea, .modal-content input, .modal-content select {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin: 10px 0;
    font-size: 16px;
    resize: none;
    background: var(--bg-primary);
}
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
}
.modal-actions button {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}
.btn-cancel {
    background: transparent;
    border: 1px solid var(--border);
}
.btn-post {
    background: var(--accent);
    color: white;
}
.post-type-selector {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}
.type-btn {
    flex: 1;
    padding: 8px;
    border-radius: 30px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    cursor: pointer;
    text-align: center;
}
.type-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.poll-option {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.poll-option input {
    flex: 1;
    margin: 0;
}
.remove-option {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ff4d6d;
}
#add-poll-option, #attach-media-btn {
    background: none;
    border: none;
    padding: 0;
    color: #0d6efd;
    font-size: 14px;
    cursor: pointer;
}
#add-poll-option:hover, #attach-media-btn:hover {
    text-decoration: underline;
}

/* PÁGINAS INFORMATIVAS */
.info-page {
    background: var(--bg-surface);
    border-radius: 25px;
    padding: 20px;
    margin: 16px 12px;
    box-shadow: var(--shadow);
}
.info-page h2 {
    color: var(--accent);
    margin-bottom: 15px;
}
.info-page p, .info-page li {
    margin-bottom: 10px;
    line-height: 1.5;
}
.info-page ul {
    padding-left: 20px;
}

/* TELA DE LOGIN ESTILIZADA */
.login-container {
    background: var(--bg-surface);
    border-radius: 30px;
    padding: 30px 20px;
    margin: 40px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.login-container h2 {
    color: var(--accent);
    margin-bottom: 10px;
}
.login-container input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--bg-primary);
    font-size: 16px;
}
.login-container button {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}
.btn-login {
    background: var(--accent);
    color: white;
}
.btn-register {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.btn-google {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-google:before {
    content: "🔑";
}

/* Botão votar na enquete */
.vote-poll-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.vote-poll-btn:hover {
    background: var(--accent-dark);
}

/* Botão editar nome no perfil */
#editNameBtn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
#editNameBtn:hover {
    background: var(--accent-dark);
}

/* Botão indicar comércio */
#indicateBtn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
#indicateBtn:hover {
    background: var(--accent-dark);
}

/* Modal de alerta personalizado */
#custom-alert .modal-content {
    max-width: 300px;
    text-align: center;
}
#custom-alert h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

/* ===== COMENTÁRIOS ===== */
.comments-section {
    margin-top: 12px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}
.comment {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}
.comment-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background-size: cover;
}
.comment-content {
    flex: 1;
    background: var(--bg-primary);
    padding: 6px 10px;
    border-radius: 16px;
}
.comment-author {
    color: var(--accent);
    font-weight: bold;
    margin-right: 10px;
}
.comment-text {
    word-break: break-word;
}
.comment-time {
    font-size: 10px;
    color: var(--text-secondary);
    margin-left: 8px;
}
.comment-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.comment-form input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 13px;
}
.comment-form button {
    background: var(--accent);
    border: none;
    border-radius: 20px;
    padding: 0 16px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* ===== MENÇÃO NO CHAT ===== */
.mention-suggestions {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.mention-suggestion-item {
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mention-suggestion-item:hover {
    background: var(--bg-primary);
}

/* ===== PERFIL DE OUTRO USUÁRIO ===== */
.profile-header {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 20px;
    margin: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow);
}
.back-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--accent);
    margin-right: auto;
}

/* Estilos para botões do perfil */
#changePhotoBtn, #editNameBtn, #saveBioBtn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    margin: 5px auto;
    display: inline-block;
}
#changePhotoBtn:hover, #editNameBtn:hover, #saveBioBtn:hover {
    background: var(--accent-dark);
}

/* Bio textarea */
#bio-text {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    font-size: 14px;
    resize: vertical;
    margin-top: 10px;
}

/* STORIES */
.stories-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.story-circle {
    min-width: 70px;
    text-align: center;
    cursor: pointer;
}
.story-circle .circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
}
.story-circle span {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
}

/* IMAGEM E VÍDEO NOS CARDS */
.card-image img, .card-image video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.delete-post-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ff4d6d;
    transition: 0.2s;
}
.delete-post-btn:hover {
    color: #ff1a4d;
    transform: scale(1.1);
}

.delete-story-btn {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #ff4d6d;
    transition: 0.2s;
}
.delete-story-btn:hover {
    color: #ff1a4d;
    transform: scale(1.1);
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: 0.2s;
}
#back-to-top:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

/* Carrossel de patrocinadores - versão mais alta */
.sponsored-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 20px 12px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-surface);
}

.sponsored-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: blue;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 30px;
    z-index: 10;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    min-height: 180px;   /* Altura mínima maior */
    max-height: 240px;   /* Limite máximo */
    object-fit: cover;   /* Garante que a imagem cubra o espaço sem distorcer */
    display: block;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--accent);
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    transition: 0.2s;
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-prev:hover, .carousel-next:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.05);
}

.carousel-dots {
    text-align: center;
    padding: 12px 0;
    background: rgba(0,0,0,0.4);
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
}
/* ===== ALERTAS E CONFIRMAÇÕES CUSTOMIZADOS (GLOBAIS) ===== */
.custom-dialog-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.2s;
    backdrop-filter: blur(3px);
}
.custom-dialog-overlay.active {
    opacity: 1; visibility: visible;
}
.custom-dialog-box {
    background: var(--bg-surface);
    width: 85%; max-width: 320px;
    border-radius: 20px; padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.9); transition: 0.2s;
}
.custom-dialog-overlay.active .custom-dialog-box {
    transform: scale(1);
}
.custom-dialog-icon {
    font-size: 40px; margin-bottom: 10px;
}
.custom-dialog-title {
    color: var(--text-primary); font-size: 18px; font-weight: bold; margin-bottom: 8px;
}
.custom-dialog-message {
    color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; line-height: 1.4;
}
.custom-dialog-actions {
    display: flex; gap: 10px; justify-content: center;
}
.custom-dialog-btn {
    flex: 1; padding: 12px; border-radius: 30px; font-weight: bold; font-size: 14px;
    cursor: pointer; border: none; transition: 0.2s;
}
.custom-dialog-btn.cancel {
    background: transparent; color: var(--text-secondary); border: 1px solid var(--border);
}
.custom-dialog-btn.cancel:hover { background: #f5f5f5; }

.custom-dialog-btn.confirm {
    background: var(--accent); color: white;
}
.custom-dialog-btn.confirm:hover { background: var(--accent-dark); }

.custom-dialog-btn.danger {
    background: #ff4d6d; color: white;
}
.custom-dialog-btn.danger:hover { background: #e63950; }
