/* =========================================
   APP-CLIENTE.CSS - VISUAL MOBILE-FIRST
   ========================================= */

/* Fundo da página e centralizador (para quem abrir no PC ver o app no centro) */
.app-wrapper {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

/* O "Corpo" do Aplicativo */
.mobile-container {
    width: 100%;
    max-width: 480px; /* Limita a largura para simular um celular no PC */
    background-color: var(--bg-color);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    padding-bottom: 80px; /* Espaço para o menu inferior não cobrir o conteúdo */
}

/* =========================================
   CABEÇALHO DO APP
   ========================================= */
.app-header {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.greeting h2 {
    font-size: 1.3rem;
    color: var(--text-main);
}

.greeting p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   CONTEÚDO PRINCIPAL (MAIN)
   ========================================= */
.app-content {
    padding: 1.5rem;
}

.section-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Cartão do Próximo Agendamento */
.next-appointment-card {
    background: var(--gradient-brand);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Desenho de fundo sutil no cartão */
.next-appointment-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.appointment-date {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: block;
}

.appointment-service {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.appointment-pro {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Botão de Ação Gigante */
.btn-agendar-agora {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--surface-color);
    color: var(--color-purple);
    border: 2px dashed var(--color-purple);
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 2rem;
}

.btn-agendar-agora:hover {
    background-color: rgba(139, 92, 246, 0.05);
}

/* =========================================
   MENU INFERIOR (BOTTOM TAB BAR)
   ========================================= */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px; /* Acompanha o mobile-container */
    background-color: var(--surface-color);
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    gap: 0.3rem;
    transition: color 0.2s;
}

.nav-item.active {
    color: var(--color-purple);
    font-weight: 600;
}

.nav-icon {
    font-size: 1.4rem;
}