/* =============================================================
   ESTILOS DE MEUS ENDEREÇOS
   ============================================================= */

.container-enderecos {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 15px 100px 15px; /* Espaço para não cobrir footer */
    box-sizing: border-box;
}

/* Botão Adicionar no topo */
.btn-adicionar {
    width: 100%;
    padding: 15px;
    background-color: white;
    color: rgb(92, 12, 142);
    border: 2px dashed rgb(92, 12, 142);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-bottom: 25px;
}

.btn-adicionar:hover {
    background-color: rgba(92, 12, 142, 0.05);
}
/* Botão de Excluir Endereço */
.btn-excluir-end {
    background: none !important;
    border: none !important;
    color: #e53935; /* Vermelho vibrante */
    font-size: 1.2rem; /* Tamanho do ícone */
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.btn-excluir-end:hover {
    transform: scale(1.1);
    color: #c62828;
}

/* --- CARD DE ENDEREÇO --- */
.card-endereco {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid transparent;
    transition: all 0.2s;
    position: relative;
}

/* Destaque para o endereço selecionado */
.card-endereco.principal {
    border: 2px solid rgb(92, 12, 142);
    background-color: #fcfaff;
}

/* Cabeçalho do Card */
.end-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.end-apelido {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-principal {
    background-color: rgb(92, 12, 142);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Detalhes do Endereço */
.end-detalhes {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Ações (Botões) */
.end-acoes {
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.btn-acao {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-selecionar {
    background-color: rgb(92, 12, 142);
    color: white;
}
.btn-selecionar:hover { background-color: #3a085a; }

.btn-excluir {
    background-color: #ffebee;
    color: #d32f2f;
    flex: 0 0 auto; /* Não estica */
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-excluir:hover { background-color: #ffcdd2; }

/* Estado Vazio */
.vazio-enderecos {
    text-align: center;
    color: #888;
    margin-top: 40px;
}
/* =========================================================
   RODAPÉ / MENU INFERIOR (MANTIDOS)
   ========================================================= */

#menu {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 65px;
    width: 100%;
    z-index: 2000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(64, 4, 102, 0.738);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.menu-inicio {
    flex: 1;
    text-align: center;
}

.menu-inicio a {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    padding: 8px 0; 
    color: #e0e0e0;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-inicio a svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px; 
}

.menu-inicio a span {
    font-size: 12px;
    font-weight: 500;
}

.menu-inicio a:hover, .menu-inicio a:active {
    background-color: rgba(255, 255, 255, 0.049);
    color: #ffffff;
}
.header-cima{
    height: 80px;
}