:root {
    --primary-color: #6c5ce7; /* Roxo mais fiel à imagem */
    --secondary-color: #ffffff;
    --text-color: #2d3436;
    --text-muted: #b2bec3;
    --bg-color: #f9f9fb;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.03);
    --bottom-nav-height: 75px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
}

/* Header */
.top-header {
    background: transparent;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 10px 0 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f1f2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.sidebar-nav li a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.sidebar-nav li a i {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
    color: var(--primary-color);
}

.sidebar-nav li a.text-danger i {
    color: #ff7675;
}

.sidebar-divider {
    height: 1px;
    background: #f1f2f6;
    margin: 10px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff7675;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-color);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.nav-item {
    text-align: center;
    text-decoration: none;
    color: #b2bec3;
    font-size: 0.7rem;
    flex: 1;
    font-weight: 500;
}

.nav-item i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item-center {
    position: relative;
    top: -25px;
    background-color: var(--primary-color);
    color: #fff !important;
    width: 65px;
    height: 65px;
    min-width: 65px; /* Garante que não encolha */
    max-width: 65px; /* Garante que não estique */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
    border: 5px solid var(--bg-color);
    flex: none; /* Remove o flex: 1 herdado de .nav-item */
}

.nav-item-center i {
    font-size: 1.8rem;
    margin-bottom: -5px; /* Ajusta para caber o texto Novo */
}

/* Cards */
.card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.2rem;
    background: white;
}

.card-next-service {
    padding: 20px;
}

.next-service-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.next-service-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a29bfe;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-service-time {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2d3436;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

.btn-outline-primary {
    border: 1.5px solid #e0e0e0;
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
}

/* Agenda List */
.agenda-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f2f6;
    position: relative;
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-time-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
}

.agenda-time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.agenda-status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 1.5px solid #dfe6e9;
}

.bg-purple-subtle {
    background-color: #f0edff !important;
}

.bg-success-subtle {
    background-color: #e3f9f1 !important;
}

.bg-warning-subtle {
    background-color: #fff9eb !important;
}

.agenda-status-icon.completed {
    background: white;
    color: #00b894;
    border-color: #00b894;
}

.pet-avatar {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    object-fit: cover;
    margin: 0 15px;
}

.agenda-info {
    flex: 1;
}

.agenda-pet-name {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.agenda-client-name {
    font-size: 0.85rem;
    color: #636e72;
}

.agenda-service-name {
    font-size: 0.8rem;
    color: #b2bec3;
}

.agenda-price {
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 5px;
}

.badge-status {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Summary Stats */
.stat-card {
    background: white;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: #b2bec3;
}

/* Rastreamento Card */
.tracking-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
}

.tracking-map-preview {
    width: 100px;
    background: #f1f2f6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracking-info {
    padding: 20px;
    flex: 1;
}

