:root {
    --azul-escuro: #004481;
    --azul-celeste: #0099ff;
    --ciano: #00e5ff;
    --branco: #ffffff;
    --cinza: #f0f2f5;
}

body { font-family: 'Segoe UI', sans-serif; background: var(--cinza); margin: 0; }

/* Auth Screen */
.auth-overlay {
    position: fixed; top:0; left:0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--azul-escuro), var(--ciano));
    display: flex; justify-content: center; align-items: center; z-index: 1000;
}
.auth-box {
    background: white; padding: 2rem; border-radius: 15px; width: 320px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); text-align: center;
}
.auth-box input { width: 90%; padding: 10px; margin: 8px 0; border: 1px solid #ddd; border-radius: 5px; }

/* Navbar */
.navbar {
    background: var(--azul-escuro); padding: 10px 20px;
    display: flex; justify-content: space-between; align-items: center; color: white;
}
.navbar button { background: none; border: none; color: white; cursor: pointer; margin-left: 10px; font-weight: bold;}

/* Estilo Geral */
.page { display: none; padding: 20px; max-width: 600px; margin: auto; }
.page.active { display: block; }
.avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: #ccc; }
.avatar-lg { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--ciano); object-fit: cover; }

.post-box, .post-card, .card-config {
    background: white; padding: 15px; border-radius: 12px; margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn-main, .btn-post {
    background: var(--azul-celeste); color: white; border: none; 
    padding: 10px 20px; border-radius: 20px; cursor: pointer; width: 100%;
}

.link-button {
    display: inline-block; padding: 8px; background: var(--azul-escuro);
    color: white; text-decoration: none; border-radius: 5px; font-size: 0.8rem;
}

/* Admin Grid */
.admin-item {
    background: #fff; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd;
    display: flex; flex-direction: column; gap: 5px;
}
.admin-item b { color: var(--azul-escuro); }

.balao-yellow {
            width: 38px; height: 38px;
            background-color: #ffcc00; border-radius: 50% 50% 50% 10%;
            display: flex; align-items: center; justify-content: center;
            color: #324788; font-weight: bold; text-decoration: none;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        

#postInput {
    width: 80%;
    display: block;    /* Garante que ele se comporte como um bloco */
    margin: 10px auto; /* Centraliza o elemento, se desejar */
    padding: 12px;     /* Adiciona um respiro interno para o texto */
    box-sizing: border-box; /* Garante que o padding não aumente os 80% */
}

@media (max-width: 600px) {
    #postInput {
        width: 95%;
    }
}