/* =========================================================
######################## LAYOUT #############################
========================================================= */

.dashboard-wrapper {
  min-height: 100vh;
}

/* =========================================================
######################## CONTENT ############################
========================================================= */

.dashboard-content,
.agenda-content {
  margin-left: 260px;

  width: calc(100% - 260px);

  min-height: 100vh;

  padding: 30px;

  transition: all 0.3s ease;

  position: relative;

  z-index: 1;
}

/* ========================================
SIDEBAR COLLAPSED
======================================== */

.sidebar.collapsed ~ .dashboard-content,
.sidebar.collapsed ~ .agenda-content {
  margin-left: 78px;

  width: calc(100% - 78px);
}

.page-card {
  width: 100%;
}

.page-header {
  margin-bottom: 18px;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 14px;
  color: #6b7280;
}

/* =========================================================
######################## MOBILE HEADER ######################
========================================================= */

.mobile-header {
  display: none;
}

/* =========================================================
######################## OVERLAY ############################
========================================================= */

.mobile-overlay {
  display: none;
}

/* =========================================================
######################## MOBILE #############################
========================================================= */

@media (max-width: 900px) {
  .dashboard-content,
  .agenda-content,
  .novo-agendamento-content {
    margin-left: 0 !important;

    width: 100% !important;

    padding: 90px 20px 20px;
  }

  /* ========================================
    MOBILE HEADER
    ======================================== */

  .mobile-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    background: #0f172a;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 20px;

    z-index: 999998;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* ========================================
    BOTÃO MENU
    ======================================== */

  .mobile-menu-btn {
    width: 42px;
    height: 42px;

    border: none;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.08);

    color: #fff;

    font-size: 22px;

    cursor: pointer;
  }

  /* ========================================
    MARCA MOBILE
    ======================================== */

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-title {
    color: #fff;

    font-size: 16px;

    font-weight: 700;
  }

  .mobile-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: transparent !important;
    border-radius: 0;
  }

  /* ========================================
    OVERLAY
    ======================================== */

  .mobile-overlay.active {
    display: block;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: rgba(0, 0, 0, 0.45);

    z-index: 999997;
  }
}
