/* Variáveis CSS para facilitar manutenção */
:root {
    /*--primary-color: #ED2590; roseo padrao*/
	--primary-color: #970c5d; /*padrao*/
	--secondary-color: #dc3545;
    --background-color: #f0f2f5;
    --text-color: #333;
    --text-light: #666;
    --border-color: #eee;
    
    /* Fontes responsivas */
    --font-size-xl: clamp(24px, 3vw, 32px);
    --font-size-lg: clamp(18px, 2.5vw, 24px);
    --font-size-md: clamp(14px, 2vw, 18px);
    --font-size-sm: clamp(12px, 1.5vw, 16px);
    --font-size-xs: clamp(10px, 1vw, 14px);

    /* Variáveis de cores para cada tema */
    --primary-hover: #d61f7f;
    --primary-light: rgba(237, 37, 144, 0.1);
    --primary-border: rgba(237, 37, 144, 0.2);
}

/* Tema Azul */
[data-theme="blue"] {
    --primary-color: #2196F3;
    --primary-hover: #1976D2;
    --primary-light: rgba(33, 150, 243, 0.1);
    --primary-border: rgba(33, 150, 243, 0.2);
}

/* Tema Verde */
[data-theme="green"] {
    --primary-color: #4CAF50;
    --primary-hover: #388E3C;
    --primary-light: rgba(76, 175, 80, 0.1);
    --primary-border: rgba(76, 175, 80, 0.2);
}

/* Tema Vermelho */
[data-theme="red"] {
    --primary-color: #F44336;
    --primary-hover: #D32F2F;
    --primary-light: rgba(244, 67, 54, 0.1);
    --primary-border: rgba(244, 67, 54, 0.2);
}

/* Tema Amarelo */
[data-theme="yellow"] {
    --primary-color: #FFC107;
    --primary-hover: #FFA000;
    --primary-light: rgba(255, 193, 7, 0.1);
    --primary-border: rgba(255, 193, 7, 0.2);
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: var(--font-size-md);
    line-height: 1.5;
}

/* Cabeçalho */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 100;
    height: clamp(50px, 8vh, 60px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    position: relative;
    height: 100%;
}

.nav-logo {
    height: 35px;
    width: auto;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.logo {
    color: white;
    font-size: var(--font-size-lg);
}

.nav-icons {
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icons i {
    font-size: var(--font-size-md);
    cursor: pointer;
}

.logout-icon {
    color: white;
    text-decoration: none;
    padding: 5px;
    transition: opacity 0.3s;
}

.logout-icon:hover {
    opacity: 0.8;
}

/* Perfil */
.profile {
    /*margin-top: 60px;*/
    margin-top: 2px;
    background-color: white;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-header {
    background-color: var(--primary-color);
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    color: white;
}

.perfil-info {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.perfil-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.perfil-details h1 {
    color: white;
    font-size: 24px;
    margin: 0 0 5px 0;
}

.perfil-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.stat {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.stat:hover {
    transform: translateY(-2px);
}

.stat .number {
    color: #ED2590;
    font-weight: bold;
    font-size: 18px;
}

.stat .label {
    color: #666;
    font-size: 14px;
}

/* Feed */
.feed { 
    padding: 15px;
    margin-bottom: 60px;
}

.post {
    background: white;
    border-radius: 8px;
    padding: clamp(10px, 2vw, 20px);
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.timestamp {
    color: #666;
    font-size: 12px;
}

.post-content {
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.post-actions button {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
}

/* Menu de Navegação Inferior */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    position: relative;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.nav-item.active {
    color: var(--primary-color);
}

/* Estilo para o badge de notificações do chat */
.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    display: none;
    min-width: 16px;
    height: 16px;
    text-align: center;
    line-height: 12px;
}

/* Ajustar responsividade */
@media (max-width: 480px) {
    .nav-item {
        font-size: var(--font-size-xs);
    }

    .nav-item i {
        font-size: var(--font-size-md);
    }

    .profile-pic,
    .user-pic,
    .amigo-pic,
    .friend-pic,
    .chat-perfil,
    .user-menu-pic,
    .request-pic,
    .foto-perfil-mini {
        width: 25px;
        height: 25px;
    }

    /* Ajustar margens para compensar o tamanho menor */
    .profile-pic {
        margin-right: 8px;
    }

    .user-pic {
        margin-right: 6px;
    }

    .amigo-pic {
        margin-right: 8px;
    }

    .chat-perfil {
        margin-right: 8px;
    }

    .preview-pic {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Estilos para página de amigos */
.friends-list {
    margin-top: 70px;
    padding: 15px;
}

.friend-item {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.friend-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Estilos para página de fotos */
.fotos-page {
    margin-top: 60px;
    padding: 20px;
    margin-bottom: 70px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.page-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 18px;
    margin: 0;
}

.page-header h3 i {
    color: var(--primary-color);
}

.fotos-count {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.fotos-feed {
    margin-top: 15px;
}

/* Estilos para o grid de fotos */
.fotos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.foto-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    width: 100%;
}

.foto-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Proporção 4:3 para melhor visualização */
}

.foto-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-content {
    padding: 15px;
}

/* Ajustes responsivos */
@media (max-width: 480px) {
    .fotos-page {
        padding: 10px;
    }
    
    .fotos-grid {
        grid-template-columns: 1fr; /* Uma coluna em mobile */
        gap: 15px;
        padding: 0;
    }

    .foto-card {
        margin-bottom: 15px;
        border-radius: 0; /* Remove borda em mobile */
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        width: 100%; /* Ocupa largura total */
    }

    .foto-image {
        padding-top: 66.67%; /* Proporção 3:2 em mobile */
    }

    .foto-content {
        padding: 12px;
    }

    .foto-autor {
        margin-bottom: 8px;
    }

    .foto-text {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .foto-meta {
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    .page-header h3 {
        font-size: 16px;
    }
}

.foto-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.foto-data {
    display: flex;
    align-items: center;
    gap: 4px;
}

.foto-stats {
    display: flex;
    gap: 8px;
}

.foto-stats span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Responsividade */
@media (max-width: 768px) {
    .fotos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .fotos-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .foto-text {
        height: auto;
        max-height: 36px;
    }
}

.foto-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.foto-wrapper:hover .foto-info {
    opacity: 1;
}

.foto-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-foto-container {
    position: relative;
    max-width: 90%;
    margin: 0 auto;
}

.modal-foto-actions {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-foto-container:hover .modal-foto-actions {
    opacity: 1;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.btn-delete:hover {
    background-color: #c82333;
}

.empty-state {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* Estilos para página de perfil */
.profile-page {
    margin-top: 60px;
}

.profile-bio {
    background-color: white;
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Ajuste para links do menu */
.bottom-nav a {
    text-decoration: none;
    color: inherit;
}

/* Timeline de Fotos */
.timeline {
    margin-top: 20px;
}

.timeline-item {
    margin-bottom: 20px;
}

.timeline-date {
    margin-bottom: 8px;
    font-size: 14px;
}

.photo-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px;
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-wrapper:hover .photo-info {
    opacity: 1;
}

/* Popup de Foto */
.photo-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 1001;
    transition: background-color 0.3s;
}

.close-popup:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#popupImage {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.popup-info {
    padding: 15px;
    background-color: white;
}

.popup-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.popup-actions {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.popup-actions button {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
}

.popup-actions button:hover {
    color: var(--primary-color);
}

/* Ajustes para a grade de fotos */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 5px;
}

.photo-item {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.photo-wrapper:hover .photo-item {
    transform: scale(1.05);
}

/* Estilos para páginas de autenticação */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-large {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 14px;
    color: #666;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    width: 100%;
	color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}
.btn-secondary {
    background-color: #123;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #888;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.erro-mensagem {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.sucesso-mensagem {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.user-menu-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.user-menu-name {
    color: white;
    font-size: 14px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .user-menu-name {
        display: none;
    }
    
    .user-menu {
        padding-left: 10px;
    }
}

/* Estilos para edição de perfil */
.profile-edit {
    margin-top: 60px;
    padding: 15px;
    margin-bottom: 70px;
}

.profile-edit-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-edit-container h2 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    font-size: 20px;
}

.foto-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    background-color: var(--primary-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--primary-border);
}

.preview-pic {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.btn-upload {
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(237, 37, 144, 0.2);
}

.btn-upload:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(237, 37, 144, 0.3);
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edit-form .form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
}

.form-group input,
.form-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
}

@media (max-width: 480px) {
    .profile-edit {
        padding: 10px;
    }
    
    .profile-edit-container {
        padding: 15px;
    }

    .preview-pic {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Estilos para o feed de usuários */
.feed-title {
    color: #666;
    margin: 20px 0;
    font-size: 18px;
    padding-left: 10px;
    border-left: 3px solid var(--primary-color);
}

.user-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.user-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-info {
    flex: 1;
}

.user-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.user-location {
    color: #666;
    font-size: 10px;
}

.user-card-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-add-friend,
.btn-send-message {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-add-friend:hover,
.btn-send-message:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .user-card-actions {
        gap: 5px;
    }

    .btn-add-friend,
    .btn-send-message {
        padding: 6px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .user-card-actions {
        flex-direction: column;
        gap: 4px;
    }

    .btn-add-friend,
    .btn-send-message {
        width: 100%;
        justify-content: center;
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* Estilos para botões de amizade */
.btn-add-friend {
    position: relative;
    transition: all 0.3s ease;
}

.btn-pending {
    background-color: #f0f2f5 !important;
    border-color: #666 !important;
    color: #666 !important;
    cursor: default !important;
}

.btn-friends {
    background-color: #e8f5e9 !important;
    border-color: #2e7d32 !important;
    color: #2e7d32 !important;
    cursor: pointer !important;
}

.btn-friends:hover {
    background-color: #ffebee !important;
    border-color: #c62828 !important;
    color: #c62828 !important;
}

.btn-friends:hover i::before {
    content: "\f235"; /* Ícone de usuário removido */
}

.btn-friends:hover::after {
    content: "Desfazer amizade";
    margin-left: 5px;
}

.btn-add-friend.loading {
    pointer-events: none;
}

.btn-add-friend.loading::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: inherit;
}

/* Efeito de ripple ao clicar */
.btn-add-friend:not(.loading):not(.btn-pending):not(.btn-friends):active {
    transform: scale(0.95);
}

/* Notificação no ícone de amizades */
.friend-requests {
    position: relative;
    color: white;
    text-decoration: none;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    min-width: 18px;
    text-align: center;
}

/* Página de amizades */
.friends-page {
    margin-top: 60px;
    padding: 20px;
    margin-bottom: 70px;
}

.friends-section {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-title i {
    color: var(--primary-color);
}

.badge {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 14px;
    margin-left: 10px;
}

.empty-message {
    text-align: center;
    color: #666;
    padding: 20px;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.friend-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s;
}

.friend-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.friend-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-accept {
    background-color: #4CAF50;
    color: white;
}

.btn-reject {
    background-color: #f44336;
    color: white;
}

.btn-unfriend {
    background-color: #666;
    color: white;
}

.btn-accept,
.btn-reject,
.btn-unfriend {
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.btn-accept:hover,
.btn-reject:hover,
.btn-unfriend:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .friends-page {
        padding: 10px;
    }
    
    .friends-grid {
        grid-template-columns: 1fr;
    }
    
    .friend-actions {
        flex-direction: column;
    }
}

/* Dropdown de solicitações de amizade */
.friend-requests-dropdown {
    position: relative;
}

.friend-requests-content {
    display: none;
    position: absolute;
    top: 100%;
    right: -10px;
    background-color: white;
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 10px;
    z-index: 1000;
    padding: 10px;
}

.friend-requests-content::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 15px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.friend-requests-content.active {
    display: block;
}

.friend-request-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.friend-request-item:last-child {
    border-bottom: none;
}

.request-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.request-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-name {
    color: #333;
    font-size: 14px;
}

.request-actions {
    display: flex;
    gap: 5px;
}

.btn-mini {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-mini.accept {
    background-color: #4CAF50;
    color: white;
}

.btn-mini.reject {
    background-color: #f44336;
    color: white;
}

.btn-mini:hover {
    transform: scale(1.1);
}

.empty-requests {
    color: #666;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

.view-all {
    display: block;
    text-align: center;
    padding: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    border-top: 1px solid #eee;
    margin-top: 5px;
}

.view-all:hover {
    background-color: #f5f5f5;
}

/* Sistema de grid para autenticação */
.auth-container-split {
    width: 100%;
    min-height: 100vh;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-row {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 500px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-col {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-8 {
    flex: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a41d6a 100%);
	color: white;
	
}
.col-4 {
    flex: 1;
    background-color: white;
}

.welcome-content {
    max-width: 400px;
    padding: 20px;
}

.welcome-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.welcome-content h1 {
    font-size: 2em;
    margin-bottom: 15px;
}

.welcome-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.5;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1em;
}

.feature-item i {
    font-size: 20px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-content {
    width: 100%;
    max-width: 320px;
    padding: 20px;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .auth-container-split {
        padding: 0;
    }

    .auth-row {
        flex-direction: column;
        min-height: 100vh;
        border-radius: 0;
    }

    .auth-col {
        padding: 20px;
    }

    .col-8 {
        display: none;
    }

    .col-4 {
        width: 100%;
    }

    .login-content {
        max-width: 100%;
    }
}

/* Ajustes para o formulário de login */
.col-4 .auth-form {
    background: white;
    padding: 0;
    box-shadow: none;
    margin-top: 20px;
}

.col-4 .logo-large {
    font-size: 36px;
    margin-bottom: 30px;
}

.col-4 .form-group {
    margin-bottom: 15px;
}

.col-4 .btn-primary {
    margin-top: 10px;
}

.col-4 .auth-links {
    margin-top: 20px;
}

/* Página de Amigos */
.amigos-page {
    margin-top: 60px;
    padding: 20px;
    margin-bottom: 70px;
}

.amigos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.amigos-header h1 {
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.amigos-header h1 i {
    color: var(--primary-color);
}

.amigos-count {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.amigos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.amigo-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.amigo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.amigo-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.amigo-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.amigo-info {
    flex: 1;
}

.amigo-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.amigo-location {
    color: #666;
    font-size: 10px;
    margin-bottom: 5px;
}

.amigo-since {
    font-size: 10px;
    color: #999;
}

.amigo-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-view-profile,
.btn-unfriend,
.btn-message {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-view-profile {
    background-color: #e3f2fd;
    color: #1976d2;
}

.btn-view-profile:hover {
    background-color: #1976d2;
    color: white;
    transform: translateY(-1px);
}

.btn-unfriend {
    background-color: #f8d7da;
    color: #dc3545;
}

.btn-message {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
}

.btn-message:hover {
    background-color: #1976d2;
    color: white;
    transform: translateY(-1px);
}

.btn-unfriend:hover {
    background-color: #dc3545;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-state i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .amigos-page {
        padding: 15px;
    }

    .amigos-grid {
        grid-template-columns: 1fr;
    }

    .amigo-actions {
        flex-direction: column;
    }

    .btn-view-profile,
    .btn-unfriend,
    .btn-message {
        width: 100%;
    }
}

/* Página de Mensagens */
.mensagens-page {
    margin-top: 60px;
    padding: 20px;
    margin-bottom: 70px;
}

.novo-post-card {
    background-color: #dbdbdb36;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-form {
    width: 100%;
}

.post-header {
    display: flex;
    gap: 15px;
}

.post-input-area {
    flex: 1;
}

.post-input-area textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    resize: vertical;
    margin-bottom: 10px;
}

.post-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-buttons {
    display: flex;
    gap: 10px;
}

.tool-btn {
    background: none;
    border: none;
    color: #111;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.tool-btn:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.btn-publicar {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-publicar:hover {
    background-color: var(--primary-hover);
}

.preview-container {
    position: relative;
    margin-top: 10px;
    max-width: 250px;
}

.preview-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.remove-preview {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.mensagem-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mensagem-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mensagem-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mensagem-info h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.timestamp {
    font-size: 11px;
    color: #666;
}

.mensagem-content {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mensagem-content p {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.mensagem-imagem {
    margin: 10px 0;
    max-width: 250px;
}

.mensagem-imagem img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mensagem-imagem img:hover {
    transform: scale(1.02);
}

/* Estilos para as ações das mensagens */
.mensagem-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.action-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 15px;
    transition: all 0.3s;
    font-size: 10px;
    font-weight: 600;
}

.action-btn i {
    font-size: 12px;
}

.action-btn:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Ajustes responsivos */
@media (max-width: 480px) {
    .mensagem-actions {
        gap: 6px;
        padding-top: 8px;
    }

    .action-btn {
        padding: 3px 6px;
        font-size: 9px;
    }

    .action-btn i {
        font-size: 11px;
    }

    .mensagem-info h5 {
        font-size: 12px;
    }

    .timestamp {
        font-size: 10px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: 1001;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .mensagens-page {
        padding: 10px;
    }

    .post-tools {
        flex-direction: column;
        gap: 10px;
    }

    .btn-publicar {
        width: 100%;
        justify-content: center;
    }

    .mensagem-actions {
        justify-content: space-around;
    }
}

/* Estilos para Modal de Emojis */
.emoji-modal .emoji-container {
    background: white;
    padding: 20px;
    max-width: 400px;
    margin: 50px auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 15px;
}

.emoji {
    font-size: 24px;
    cursor: pointer;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.emoji:hover {
    background-color: #f0f2f5;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.close-modal:hover {
    color: #333;
}

/* Responsividade para imagens */
@media (max-width: 768px) {
    .mensagem-imagem,
    .preview-container {
        max-width: 100%;
    }

    .mensagem-imagem img,
    .preview-container img {
        border-radius: 4px;
    }
}

/* Opções da mensagem */
.mensagem-options {
    position: relative;
    margin-left: auto;
}

.btn-options {
    background: none;
    border: none;
    color: #666;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
}

.btn-options:hover {
    background-color: #f5f5f5;
}

.options-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    min-width: 150px;
}

.options-menu.active {
    display: block;
}

.options-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: none;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
}

.options-menu button:hover {
    background-color: #f5f5f5;
}

.options-menu button:first-child {
    border-radius: 8px 8px 0 0;
}

.options-menu button:last-child {
    border-radius: 0 0 8px 8px;
    color: #dc3545;
}

/* Modal de Edição */
.edit-modal .modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edit-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancelar,
.btn-salvar {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.btn-cancelar {
    background-color: #f5f5f5;
    color: #666;
}

.btn-salvar {
    background-color: var(--primary-color);
    color: white;
}

.btn-cancelar:hover {
    background-color: #eee;
}

.btn-salvar:hover {
    background-color: var(--primary-hover);
}

/* Estilos para curtidas */
.action-btn.curtido {
    color: var(--primary-color);
}

.action-btn.curtido i {
    animation: curtir 0.3s ease;
}

.curtidas-count {
    font-weight: bold;
    margin: 0 5px;
}

@keyframes curtir {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Estilos para comentários */
.comentarios-section {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
}

.novo-comentario {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.comentario-form {
    flex: 1;
    display: flex;
    gap: 8px;
}

.comentario-form input {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #eee;
    border-radius: 15px;
    font-size: 12px;
}

.comentario-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

.comentarios-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comentario {
    display: flex;
    gap: 8px;
}

.comentario-conteudo {
    flex: 1;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.comentario-autor {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.comentario-texto {
    color: #666;
}

/* Ajustes responsivos */
@media (max-width: 480px) {
    .comentario-form input {
        font-size: 10px;
        padding: 4px 10px;
    }

    .comentario-form button {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .comentario-conteudo {
        font-size: 10px;
        padding: 6px 10px;
    }

    .comentario-autor {
        font-size: 10px;
    }
}

/* Estilos para compartilhamento */
.share-dropdown {
    position: relative;
}

.share-options {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 8px;
    min-width: 200px;
    z-index: 10;
}

.share-options.active {
    display: block;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    width: 100%;
    border: none;
    background: none;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.share-btn:hover {
    background-color: #f5f5f5;
}

.share-btn.facebook i { color: #1877f2; }
.share-btn.twitter i { color: #1da1f2; }
.share-btn.whatsapp i { color: #25d366; }
.share-btn.copy i { color: #666; }

.comentario-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-excluir-comentario {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.comentario-item:hover .btn-excluir-comentario {
    opacity: 1;
}

.btn-excluir-comentario:hover {
    color: #dc3545;
}

/* Estilos para o modal de imagem com download */
.modal-image-container {
    position: relative;
    max-width: 90%;
    margin: 0 auto;
}

.modal-image-actions {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-image-container:hover .modal-image-actions {
    opacity: 1;
}

.btn-download {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.btn-download:hover {
    background-color: var(--primary-hover);
}

/* Estatísticas da plataforma */
.platform-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card i {
    font-size: 24px;
    color: var(--primary-color);
    background: rgba(237, 37, 144, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .platform-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .platform-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 18px;
    }
}

/* Layout com sidebar */
.main-container {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    padding: 20px;
    margin-bottom: 70px;
}

.main-content {
    flex: 1;
    min-width: 0; /* Evita overflow em telas pequenas */
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Widget de Estatísticas */
.widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-title {
    padding: 15px;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--primary-color);
}

.widget-content {
    padding: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: transform 0.2s;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item:hover {
    transform: translateX(5px);
    background: #f8f9fa;
}

.stat-item i {
    font-size: 20px;
    color: var(--primary-color);
    background: rgba(237, 37, 144, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.stat-label {
    font-size: 13px;
    color: #666;
}

/* Responsividade */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }
}

/* Ajustar hover effect */
.logo-link:hover {
    opacity: 0.9;
}

/* Adicionar estilos para form-row */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
    min-width: 0; /* Evita overflow em telas pequenas */
}

/* Ajustar responsividade */
@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Estilos para visualização de perfil */
.perfil-view-page {
    margin-top: 60px;
    padding: 15px;
    margin-bottom: 70px;
}

.perfil-view-container {
    max-width: 900px;
    margin: 0 auto;
}

.perfil-header {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 15px;
}

.perfil-cover {
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a41d6a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfil-info {
    padding: 12px 15px;
    margin-top: -95px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.perfil-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

.perfil-details {
    flex: 1;
    margin-top: 15px;
}

.perfil-details h1 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #fff;
}

.perfil-location {
    color: #fff;
    font-size: 12px;
}

.perfil-actions {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

/* Ajustar responsividade */
@media (max-width: 768px) {
    .perfil-cover {
        height: 80px;
    }

    .perfil-info {
        margin-top: -60px;
        padding: 10px;
        flex-wrap: wrap;
    }

    .perfil-pic {
        width: 60px;
        height: 60px;
    }

    .perfil-details {
        margin-top: 10px;
        width: calc(100% - 80px); /* Largura total menos a largura da foto + gap */
    }

    .perfil-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
        gap: 8px;
    }

    .btn-message,
    .btn-add-friend {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Ajustes para telas médias */
@media (max-width: 768px) {
    .perfil-view-page {
        padding: 10px;
        margin-top: 55px;
    }

    .perfil-cover {
        height: 80px;
    }

    .perfil-info {
        margin-top: -60px;
        padding: 10px;
        flex-wrap: wrap;
    }

    .perfil-pic {
        width: 60px;
        height: 60px;
    }

    .perfil-details {
        margin-top: 10px;
        width: calc(100% - 80px); /* Largura total menos a largura da foto + gap */
    }

    .perfil-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
        gap: 8px;
    }

    .btn-message,
    .btn-add-friend {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Ajustes para telas pequenas */
@media (max-width: 480px) {
    .perfil-view-page {
        padding: 8px;
    }

    .perfil-cover {
        height: 70px;
    }

    .perfil-info {
        margin-top: -50px;
        padding: 8px;
        gap: 8px;
    }

    .perfil-pic {
        width: 50px;
        height: 50px;
    }

    .perfil-details {
        width: calc(100% - 65px);
    }

    .perfil-details h1 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .perfil-location {
        font-size: 11px;
    }

    .perfil-actions {
        justify-content: space-between;
        margin-top: 8px;
    }

    .btn-message,
    .btn-add-friend {
        min-width: auto;
        padding: 5px 10px;
        font-size: 11px;
    }

    /* Ajustes para as estatísticas */
    .perfil-stats {
        padding: 8px;
        gap: 4px;
        margin-bottom: 15px;
    }

    .stat {
        padding: 4px;
    }

    .stat .number {
        font-size: 13px;
        margin-bottom: 1px;
    }

    .stat .label {
        font-size: 10px;
    }

    /* Ajustes para a grade de fotos */
    .fotos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .foto-item {
        border-radius: 6px;
    }

    .section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 360px) {
    .perfil-info {
        margin-top: -45px;
    }

    .perfil-pic {
        width: 45px;
        height: 45px;
    }

    .perfil-details {
        width: calc(100% - 60px);
    }

    .perfil-actions {
        flex-wrap: wrap;
        gap: 5px;
    }

    .btn-message,
    .btn-add-friend {
        width: calc(100% - 3px);
        padding: 4px 8px;
    }
}

/* Ajustar estatísticas */
.perfil-stats {
    display: flex;
    justify-content: space-between;
    background: white;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat {
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    border-right: 1px solid #eee;
}

.stat:last-child {
    border-right: none;
}

.stat .number {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.stat .label {
    font-size: 11px;
    color: #666;
}

/* Ajustar grid de fotos */
.fotos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.foto-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.foto-item:hover img {
    transform: scale(1.05);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .perfil-stats {
        padding: 8px;
    }

    .stat {
        padding: 5px 3px;
    }

    .stat .number {
        font-size: 13px;
    }

    .stat .label {
        font-size: 10px;
    }

    .fotos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .fotos-grid {
        display: block; /* Muda para display block em mobile */
        padding: 10px;
    }

    .foto-item {
        width: 100%;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .foto-image {
        width: 100%;
        padding-top: 66.67%; /* Proporção 3:2 */
    }

    .foto-content {
        padding: 12px;
    }
}

/* Estilos para widget de publicidade */
.ads-widget {
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.ad-container {
    padding: 10px;
    text-align: center;
}

.ad-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s;
}

.ad-image:hover {
    transform: scale(1.02);
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .ads-widget {
        margin-top: 15px;
    }
    
    .ad-container {
        padding: 8px;
    }
}

/* Estilos para descrição e leia mais */
.descricao-content {
    max-width: 800px;
    width: 90%;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.modal-foto {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1001;
}

.close-modal:hover {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Estilos para autor da foto */
.foto-autor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.foto-perfil-mini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.autor-nome {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* Estilos para o modal */
.modal-header-autor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header-autor .foto-perfil-mini {
    width: 32px;
    height: 32px;
}

.modal-header-autor .autor-nome {
    font-size: 14px;
    font-weight: 600;
}

/* Estilos para busca */
.search-container {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px 12px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 200px;
    font-size: 14px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.search-btn {
    background: none;
    border: none;
    color: white;
    padding: 8px;
    cursor: pointer;
    margin-left: -35px;
}

.busca-page {
    margin-top: 60px;
    padding: 20px;
    margin-bottom: 70px;
}

.busca-info {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.resultados-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .search-input {
        width: 150px;
    }

    .resultados-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .search-input {
        width: 120px;
    }

    .resultados-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Estilos para o chat */
.chat-page {
    margin-top: 60px;
    margin-bottom: 70px;
    height: calc(100vh - 130px);
    padding: 15px;
}

.chat-container {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
    overflow: hidden;
}

.amigos-lista {
    width: clamp(250px, 30vw, 300px);
    padding: 15px;
    background: white;
    border-right: 1px solid #eee;
}

.amigos-header {
    margin-bottom: 15px;
}

.amigos-header h2 {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.amigos-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    background-color: white;
    cursor: pointer;
}

.amigos-select option {
    padding: 8px;
}

/* Ajustes responsivos */
@media (max-width: 480px) {
    .amigos-lista {
        width: 100%;
        height: auto;
        padding: 10px;
    }

    .amigos-select {
        font-size: 12px;
        padding: 8px;
    }
}

.amigos-scroll {
    overflow-y: auto;
    flex: 1;
    padding: 8px;
    background: var(--secondary-color);
}

.amigo-item {
    display: flex;
    align-items: center;
    padding: clamp(5px, 1vw, 10px);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: clamp(5px, 1vw, 8px);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.amigo-item:hover {
    background-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.amigo-item:last-child {
    margin-bottom: 0;
}

.amigo-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amigo-nome {
    font-size: 14px;
    color: #333;
}

.mensagens-nao-lidas {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
}

/* Estilos para a área do chat */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fafafa; /* Background suave */
}
.chat-placeholder {
    flex: 1;
    overflow-y: auto;
    padding: 65px;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa; /* Background ainda mais suave para as mensagens */
	text-align:center;
	color: var(--primary-color);
    font-size: 1.2em;
}

.mensagens-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa; /* Background ainda mais suave para as mensagens */
}

.chat-header {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: white;
}

.chat-header .user-pic {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.chat-nome {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Ajustes responsivos */
@media (max-width: 480px) {
    .chat-header {
        padding: 8px 12px;
        justify-content: center; /* Centraliza o conteúdo */
    }

    .chat-header .user-pic {
        width: 32px;
        height: 32px;
        margin: 0; /* Remove a margem em mobile */
    }

    .chat-nome {
        display: none; /* Oculta o nome em mobile */
    }

    .mensagens-container {
        padding: 10px;
    }
}

.mensagem {
    max-width: 70%;
    margin-bottom: 10px;
    display: flex;
}

.mensagem.enviada {
    margin-left: auto;
}

.mensagem-conteudo {
    padding: 8px 12px;
    border-radius: 12px;
    position: relative;
}

.mensagem.enviada .mensagem-conteudo {
    background: var(--primary-color);
    color: white;
}

.mensagem.recebida .mensagem-conteudo {
    background: #f0f2f5;
    color: #333;
}

.mensagem-hora {
    font-size: 11px;
    opacity: 0.7;
    margin-left: 8px;
}

.chat-input {
    padding: 15px;
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
}

.chat-input textarea {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    margin-right: 10px;
    resize: none;
    font-family: inherit;
}

.chat-input button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.chat-input button:hover {
    background-color: var(--primary-hover);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .amigos-lista {
        width: auto;
    }
}

@media (max-width: 480px) {
    .chat-container {
        flex-direction: column;
    }

    .amigos-lista {
        width: 100%;
        height: auto;
    }

    .chat-area {
        height: calc(100vh - 500px);
    }
}

/* Estilos para notificação de mensagens */
.mensagens-notificacao {
    position: relative;
    cursor: pointer;
}

.mensagem-icon {
    color: white;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.notificacao-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: none;
    text-align: center;
    line-height: 12px;
    font-weight: bold;
}

.mensagem-icon i {
    font-size: 18px;
    transition: color 0.3s;
}

.mensagem-icon:hover i {
    color: rgba(255, 255, 255, 0.8);
}

/* Adicionar estilos para notificações do sino */
.notificacoes-container {
    position: relative;
    cursor: pointer;
}

.notificacoes-container i {
    font-size: 18px;
    color: white;
    transition: color 0.3s;
}

.notificacoes-container:hover i {
    color: rgba(255, 255, 255, 0.8);
}

/* Ajustar o estilo do badge para ser usado tanto no sino quanto nas mensagens */
.notificacao-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: none;
    text-align: center;
    line-height: 12px;
    font-weight: bold;
}

/* Estilos para os botões de ação dos amigos */
.amigo-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
}

/* Botão Ver Perfil */
.btn-view-profile {
    background: none;
    border: 1px solid #1976d2;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-view-profile:hover {
    background: #1976d2;
    color: white;
}

/* Botão Desfazer Amizade */
.btn-unfriend {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-unfriend:hover {
    background: var(--primary-color);
    color: white;
}

/* Botão Mensagem */
.btn-message {
    background: none;
    border: 1px solid #4caf50;
    color: #4caf50;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-message:hover {
    background: #4caf50;
    color: white;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .amigo-actions {
        gap: 5px;
    }

    .btn-view-profile,
    .btn-unfriend,
    .btn-message {
        padding: 4px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .amigo-actions {
        gap: 4px;
    }

    .btn-view-profile,
    .btn-unfriend,
    .btn-message {
        padding: 4px 8px;
        font-size: 11px;
    }
}

/* Estilos base para o container de mensagens */
.mensagens-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
}

.mensagem-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .mensagens-container {
        padding: 10px;
    }

    .mensagem-card {
        padding: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .mensagens-container {
        width: 100%;
        max-width: 100%;
        padding: 5px;
    }

    .mensagem-card {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .mensagens-page {
        padding: 0;
    }
}

/* Estilos para comentários */
.comentario-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.comentario-autor {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.comentario-data {
    font-size: 11px;
    color: #666;
}

.comentario-texto {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

/* Ajustes responsivos */
@media (max-width: 480px) {
    .comentario-autor {
        font-size: 10px;
    }

    .comentario-data {
        font-size: 9px;
    }

    .comentario-texto {
        font-size: 10px;
    }
}

/* Estilos para o combobox de amigos */
.amigos-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    background-color: white;
    cursor: pointer;
    margin-bottom: 10px;
}

.amigos-select option {
    padding: 8px;
    font-size: 13px;
}

@media (max-width: 480px) {
    .amigos-select {
        font-size: 12px;
        padding: 8px;
    }
}

/* Estilos para widget de estatísticas */
.widget.stats-widget .widget-content {
    display: flex;
    flex-direction: row; /* Alinha os itens horizontalmente */
    justify-content: space-between; /* Distribui o espaço entre os itens */
    padding: 15px;
    gap: 10px; /* Espaço entre os itens */
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1; /* Faz cada item ocupar espaço igual */
}

.stat-item i {
    font-size: 20px;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.stat-label {
    color: #666;
    font-size: 12px;
}

/* Ajuste responsivo */
@media (max-width: 480px) {
    .widget.stats-widget .widget-content {
        padding: 10px;
        gap: 8px;
    }

    .stat-item i {
        font-size: 16px;
    }

    .stat-number {
        font-size: 12px;
    }

    .stat-label {
        font-size: 10px;
    }
}

/* Estilos para o cabeçalho do perfil */
.perfil-header {
    background-color: var(--primary-color);
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    color: white;
}

.perfil-info {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* Ajustes responsivos para mobile */
@media (max-width: 480px) {
    .perfil-header {
        padding: 10px;
        margin-bottom: 10px;
        margin-top: 0; /* Remove o espaço extra */
    }

    .perfil-info {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        gap: 10px;
    }

    .perfil-pic {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }

    .perfil-details h1 {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .perfil-location {
        font-size: 12px;
    }

    .perfil-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .perfil-actions button {
        padding: 8px 15px;
        font-size: 12px;
    }
}
/*.login-image {
    background-image: url('logo/vila2.jpg');
	opacity: 0.9;
    color: black;
	font-size: 1.1em;
}
*/
/* imagem em tela cheia */
.login-image {
  width: 100vw;          /* 100 % da largura da viewport */
  height: 100vh;         /* 100 % da altura da viewport */
  background-image: url('logo/vila2.jpg');
  background-size: cover;        /* cobre toda a área, mantém proporção */
  background-position: center;   /* centraliza a imagem */
  background-repeat: no-repeat;  /* evita repetições */
  
  /* mantém seu estilo original */
  opacity: .9;           /* atenção: afeta texto interno também */
  color: #000;
  font-size: 1.1em;
  
  /* opcional: centralizar conteúdo interno */
  display: flex;
  align-items: center;
  justify-content: center;
}


