* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
    min-height: 100vh;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Header */
.conta-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.header-content h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.btn-voltar, .btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-voltar {
    background: #f5f5f5;
    color: #666666;
}

.btn-voltar:hover {
    background: #e5e5e5;
    color: #1a1a1a;
}

.btn-logout {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-logout:hover {
    background: #000000;
}

/* Container principal */
.conta-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Seção do perfil */
.perfil-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.perfil-avatar {
    font-size: 4rem;
    color: #666666;
}

.perfil-info h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.perfil-info p {
    color: #666666;
    margin-bottom: 1rem;
}

.btn-editar-perfil {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-editar-perfil:hover {
    background: #000000;
}

/* Menu de navegação */
.menu-navegacao {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666666;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 140px;
    justify-content: center;
}

.menu-item:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

.menu-item.active {
    background: #1a1a1a;
    color: #ffffff;
}

.menu-item.active:hover {
    background: #000000;
}

/* Seções de conteúdo */
.conteudo-sections {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

/* Dashboard */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.card-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-info p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.dashboard-recent h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 500;
}

.atividade-lista {
    background: #f5f5f5;
    border-radius: 4px;
    padding: 1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
}

.no-data {
    color: #666666;
    font-style: italic;
}

/* Seção header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    font-weight: 500;
}

.filtros select {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    color: #1a1a1a;
}

.btn-limpar-desejos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-limpar-desejos:hover {
    background: #000000;
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #666666;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Lista de pedidos */
.pedidos-lista {
    min-height: 300px;
}

.pedido-item {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #1a1a1a;
}

.pedido-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.pedido-numero {
    font-weight: 500;
    color: #1a1a1a;
}

.pedido-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pendente { background: #f5f5f5; color: #666666; border: 1px solid #e5e5e5; }
.status-processando { background: #e5e5e5; color: #1a1a1a; }
.status-enviado { background: #d9d9d9; color: #1a1a1a; }
.status-entregue { background: #1a1a1a; color: #ffffff; }
.status-cancelado { background: #cccccc; color: #666666; }

/* Grid de desejos */
.desejos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    min-height: 300px;
}

.desejo-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.desejo-item:hover {
    border-color: #1a1a1a;
}

.desejo-imagem {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #cccccc;
    border-bottom: 1px solid #e5e5e5;
}

.desejo-info {
    padding: 1rem;
}

.desejo-nome {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.desejo-preco {
    color: #666666;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.desejo-acoes {
    display: flex;
    gap: 0.5rem;
}

.btn-adicionar-carrinho, .btn-remover-desejo {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.btn-adicionar-carrinho {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.btn-adicionar-carrinho:hover {
    background: #000000;
    border-color: #000000;
}

.btn-remover-desejo {
    background: #ffffff;
    color: #666666;
}

.btn-remover-desejo:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

/* Formulário de perfil */
.perfil-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a1a1a;
}

.perfil-form h4 {
    margin: 2rem 0 1rem 0;
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 500;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.btn-primario, .btn-secundario {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primario {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-primario:hover {
    background: #000000;
}

.btn-secundario {
    background: #f5f5f5;
    color: #666666;
    border: 1px solid #e5e5e5;
}

.btn-secundario:hover {
    background: #e5e5e5;
    color: #1a1a1a;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header h3 {
    margin: 0;
    color: #1a1a1a;
    font-weight: 500;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666666;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

/* Responsividade */
@media (max-width: 768px) {
    .conta-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .header-content h1 {
        font-size: 1.2rem;
    }
    
    .perfil-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .menu-navegacao {
        gap: 0.25rem;
    }
    
    .menu-item {
        min-width: 120px;
        padding: 0.8rem 1rem;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .desejos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-voltar span,
    .btn-logout span {
        display: none;
    }
}