:root {
    --pmc-primary: #2563eb;
    --pmc-bg: #f4f6fb;
    --pmc-sidebar-w: 240px;
}

body.pmc-body {
    background: var(--pmc-bg);
    min-height: 100vh;
}

/* ---- Topbar ---- */
.pmc-topbar {
    background: #fff;
    border-bottom: 1px solid #e6e8ef;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

/* ---- Sidebar ---- */
.pmc-sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: var(--pmc-sidebar-w);
    height: calc(100vh - 56px);
    background: #fff;
    border-right: 1px solid #e6e8ef;
    padding: .75rem;
    overflow-y: auto;
    transition: transform .2s ease;
    z-index: 1020;
    display: flex;
    flex-direction: column;
}

.pmc-sidebar > ul { flex: 1; }

.pmc-sidebar-petshop {
    border-top: 1px solid #e6e8ef;
    padding: .65rem .5rem;
    margin: .5rem -.25rem 0;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #344054;
    font-size: .8rem;
    flex-shrink: 0;
}

.pmc-sidebar .nav-link {
    color: #475467;
    border-radius: .5rem;
    padding: .55rem .75rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.pmc-sidebar .nav-link.active,
.pmc-sidebar .nav-link:hover {
    background: #eef2ff;
    color: var(--pmc-primary);
}

.pmc-main--admin {
    margin-left: var(--pmc-sidebar-w);
    padding-top: .5rem;
}

@media (max-width: 991.98px) {
    .pmc-sidebar {
        transform: translateX(-100%);
    }
    .pmc-sidebar.is-open {
        transform: translateX(0);
    }
    .pmc-main--admin {
        margin-left: 0;
    }
}

/* ---- Auth ---- */
.pmc-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pmc-auth-card {
    width: 100%;
    max-width: 420px;
    border-radius: 1rem;
}

/* ---- Tenant card ---- */
.pmc-tenant-card {
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
    background: #fff;
}
.pmc-tenant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(16, 24, 40, .12) !important;
}

/* ---- Toasts ---- */
.pmc-toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.pmc-footer {
    margin-left: var(--pmc-sidebar-w);
}
@media (max-width: 991.98px) {
    .pmc-footer { margin-left: 0; }
}

/* ---- Dashboard CTA cards ---- */
.pmc-cta { transition: transform .12s ease, box-shadow .12s ease; }
.pmc-cta:hover { transform: translateY(-2px); }
.pmc-cta--hotel   { background: linear-gradient(135deg, #2563eb, #1e40af); }
.pmc-cta--daycare { background: linear-gradient(135deg, #0ea5e9, #0369a1); }

/* ---- Perfil offcanvas nav-pills ---- */
#pmc-perfil .nav-pills .nav-link { padding: .3rem .5rem; font-size: .85rem; }

/* ---- Kanban de Serviços ---- */
.pmc-kb-board { overflow-x: auto; padding-bottom: .5rem; }
.pmc-kb-col {
    flex: 1 0 220px;
    min-width: 220px;
    background: #f1f3f9;
    border-radius: .6rem;
    padding: .6rem;
}
.pmc-kb-col-head { font-size: .8rem; font-weight: 600; margin-bottom: .5rem; }
.pmc-kb-col-body { min-height: 120px; }
.pmc-kb-card { transition: box-shadow .12s ease, transform .12s ease; }
.pmc-kb-board.is-interactive .pmc-kb-card { cursor: grab; }
.pmc-kb-card.dragging { opacity: .5; }
.pmc-kb-col.is-over { outline: 2px dashed var(--pmc-primary); outline-offset: -2px; background: #e6ecff; }
.pmc-kb-empty { padding: 1.4rem 0; }
.pmc-kb-board.is-readonly .pmc-kb-col { background: #f7f8fb; }
.min-w-0 { min-width: 0; }
