@charset "UTF-8";
.availability-panel {
  display: flex;
  flex-direction: column;
  gap: var(--lumo-space-s);
  /* contains .label-value-group */
}

.avatar-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--lumo-space-l);
  width: 100%;
}
.avatar-panel .avatar {
  --vaadin-avatar-size: var(--vaadin-profile-avatar-size);
}
.avatar-panel .upload-panel {
  width: 100%;
  flex-wrap: wrap;
  gap: var(--lumo-space-s);
}
.avatar-panel .upload-panel vaadin-upload,
.avatar-panel .upload-panel vaadin-button {
  width: 100%;
}

/* Tile look with rounded corners and colored border or background */
/**
 * Dialog-specific styling:
 * Targets the vertical layout inside the "edit-weekly-availabilities" and "edit-service-type" dialogs.
 */
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities],
vaadin-dialog-overlay[theme=dialog-edit-service-type] {
  max-width: 50em;
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout {
  /* space between stacked children in dialog */
  gap: var(--spacing-default);
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list,
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-default);
  /** Add button should span the entire width for clear affordance.*/
  /** 
  * Main list container:
  * - Removes default UL styles
  * - Uses flex column layout to stack list items
  */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list .add-button,
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list .add-button,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list .add-button,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list .add-button {
  width: 100%;
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul,
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-default);
  /**
   * Each list item:
   * - Content on the left, action button(s) on the right
   * - Neutral border and rounded corners
   */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li,
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: var(--spacing-default);
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
  /** Align direct child vaadin-button vertically with the input-fileds */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li > vaadin-button,
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li > vaadin-button,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li > vaadin-button,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li > vaadin-button {
  margin-top: 24.5px; /* adjust for label height */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li {
  justify-content: space-between; /* time-picker and delete-button apart */
  /** 
    * Time picker container inside the editable content area:
    * - Uses flex row layout
    * - Wraps to next line if space runs out (mobile friendly)
    */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li .editable-entity-list-item-content > div,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li .editable-entity-list-item-content > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; /* allow wrapping for narrow viewports */
  gap: var(--spacing-default);
  align-items: center;
  /** 
    * Time picker styling:
    * - Removes extra padding
    * - Allows resizing & wrapping
    */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li .editable-entity-list-item-content > div vaadin-time-picker,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.weekly-availability-list ul li .editable-entity-list-item-content > div vaadin-time-picker {
  padding: 0;
  flex: 1 0 auto; /* grow as needed */
  width: 150px;
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li {
  flex-wrap: wrap;
  justify-content: center; /* center button on wrap */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content {
  flex-grow: 1;
  /**
   * Two-column grid:
   * - Left column grows (text area), right column shrinks (checkbox)
   * - first row contains labels
   */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div {
  display: grid;
  grid-template-columns: 1fr auto; /* left grows, right shrinks */
  grid-template-rows: auto auto;
  column-gap: var(--spacing-default);
  /** Text area: compact padding and readable long text */
  /**
   * Checkbox styling:
   * - Larger interactive target
   * - Neutral (non-primary) checked appearance
   * - Replace default tick with a cross
   */
  /* Increase the visual box size */
  /* Custom cross when checked (centered and theme-aware color) */
  /* Checked state: keep neutral background, avoid primary color */
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-text-area,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-text-area {
  padding: 0;
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-text-area textarea,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-text-area textarea {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-checkbox::part(checkbox),
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-checkbox::part(checkbox) {
  width: 48px;
  height: 58px;
  margin: 0px;
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-checkbox[checked]::part(checkbox)::after,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-checkbox[checked]::part(checkbox)::after {
  content: "✖"; /* Unicode cross */
  color: var(--lumo-body-text-color);
  font-size: 18px; /* scale to fit */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-checkbox[checked]::part(checkbox),
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .editable-entity-list.service-checklistitem-list ul li .editable-entity-list-item-content > div vaadin-checkbox[checked]::part(checkbox) {
  background: var(--vaadin-checkbox-background, var(--lumo-contrast-20pct));
}
vaadin-dialog-overlay[theme=dialog-edit-weekly-availabilities] vaadin-vertical-layout .dialog-buttons .btn,
vaadin-dialog-overlay[theme=dialog-edit-service-type] vaadin-vertical-layout .dialog-buttons .btn {
  flex-grow: 1;
}

.rating-dialog h2,
.rating-dialog .stars-rating,
.rating-dialog vaadin-text-area {
  margin-bottom: var(--lumo-space-m);
}

.label-value-group {
  display: flex;
  flex-direction: row;
}
.label-value-group > span:first-child {
  flex: 0 0 110px;
  font-weight: bold;
}
.label-value-group ul.value {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: var(--lumo-space-m);
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.label-value-group ul.value:empty::before {
  content: "-";
}

vaadin-notification-card[theme=success] {
  --lumo-header-text-color: var(--lumo-success-contrast-color);
}

.service-type-accordion {
  /* remove border-bottom if it is visually the last panel*/
}
.service-type-accordion vaadin-accordion-panel:not([hidden]):last-of-type,
.service-type-accordion vaadin-accordion-panel:not([hidden]):has(+ vaadin-accordion-panel[hidden]) {
  border-bottom: none;
}

.service-type-accordion {
  width: 100%;
  box-sizing: border-box;
}
.service-type-accordion vaadin-accordion-panel {
  width: 100%;
  max-width: var(--content-max-width-m);
}
.service-type-accordion vaadin-accordion-panel vaadin-accordion-heading {
  padding: var(--lumo-space-s) 0;
}
.service-type-accordion vaadin-accordion-panel > div {
  display: flex;
  flex-direction: column;
  gap: var(--lumo-space-m);
  margin-left: var(--lumo-space-l);
  /* Increase contrast for provided services */
  /* Show check icon ONLY for provided services */
  /* Hover effect for better UX */
}
.service-type-accordion vaadin-accordion-panel > div a {
  display: flex; /* position the ::after element to the right */
  gap: var(--lumo-space-s);
  color: var(--lumo-body-text-color);
  text-decoration: none;
}
.service-type-accordion vaadin-accordion-panel > div a.provided {
  color: var(--lumo-success-color);
  font-weight: 500;
}
.service-type-accordion vaadin-accordion-panel > div a.provided::after {
  display: inline-block;
  content: "";
  min-width: var(--lumo-icon-size-m);
  max-width: var(--lumo-icon-size-m);
  background-color: currentColor;
  mask-image: url("/icons/Check-Thick--Streamline-Plump.svg");
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.service-type-accordion vaadin-accordion-panel > div a:hover {
  text-decoration: underline;
}

.stars-rating .star-btn {
  color: var(--lumo-contrast-40pct);
}
.stars-rating .star-btn.selected {
  color: var(--stars-rating-selected-color);
}

/* 
  A container within a <vaadin-scroller> that remains "stuck" 
  to the bottom edge of the scrollable area. 
  Becomes visible only when the content inside the scroller overflows vertically.
*/
.sticky-bottom {
  position: sticky;
  bottom: 0;
  display: flex;
  width: 100%;
  padding: var(--lumo-space-m) 0 var(--lumo-space-s) 0;
  background-color: var(--color-white);
}

vaadin-vertical-layout.vertical-sublayout {
  padding: 0;
  gap: 0;
}

/* NOTE: vaadin-*.scss files are automatically included by Vaadin and are therefore not listed above */
html {
  --lumo-disabled-text-color: rgb(200, 200, 200);
  --lumo-error-color: rgb(255, 66, 56);
  --lumo-error-color-10pct: rgba(255, 66, 56, 0.1);
  --lumo-error-color-50pct: rgba(255, 66, 56, 0.5);
  --lumo-error-text-color: rgb(198, 40, 40);
  --lumo-success-color: rgb(0, 148, 74);
  --lumo-success-color-10pct: rgb(229, 244, 236);
  --lumo-success-color-50pct: rgb(127, 201, 164);
  --lumo-success-text-color: rgb(0, 148, 74);
  --lumo-warning-color: hsl(48, 100%, 50%);
  --lumo-warning-color-50pct: hsla(48, 100%, 50%, 0.5);
  --lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
  --lumo-primary-color: hsla(179, 100%, 34%, 1); /* Teal Bright #00ADA9 */
  --lumo-primary-color-50pct: hsla(179, 100%, 34%, 0.5); /* #00ADA980 */
  --lumo-primary-color-10pct: hsla(179, 100%, 34%, 0.1); /* #00ADA91A */
  --lumo-primary-text-color: hsla(220, 51%, 18%, 1); /* Navy Dark #172947 */
  --lumo-secondary-text-color: hsla(220, 51%, 18%, 0.6); /* #17294799 */
  --menu-item-highlight-background-color: var(--lumo-primary-color-10pct);
  --stars-rating-selected-color: #FFA500;
  --color-white: #FFFFFF;
}

/* Tile look with rounded corners and colored border or background */
/* Global Typography Settings */
/* Reduce heading sizes for better visual hierarchy */
h1 {
  font-size: 2rem;
  font-weight: 600;
  width: 100%;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Enable word wrapping to prevent text cutoff */
body,
p,
span,
div {
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: normal;
}

/* Prevent word-wrap issues in admin tables */
.admin-view vaadin-grid {
  hyphens: manual;
  word-wrap: normal;
}

html {
  /*defines the height of the hole application window*/
  --app-viewport-height: 100vh;
  --content-max-width-m: 800px;
  --content-max-width-l: 1300px;
  --content-max-width-full: 100%;
  --spacing-default: var(--lumo-space-m);
  --default-border-radius: var(--lumo-space-m);
  --default-border-width: 2px;
  --app-header-height: 56px;
  --app-footer-action-bar-height: 56px;
  --app-footer-navbar-height: 56px;
  --app-content-height: calc(var(--app-viewport-height) - var(--app-header-height) - var(--app-footer-action-bar-height) + 3px);
  --vaadin-profile-avatar-size: 90px;
}

/*Prefer dynamic viewport (dvh) when available*/
@supports (height: 100dvh) {
  html {
    --app-viewport-height: 100dvh; /*override with dynamic*/
  }
}
@media (max-width: 800px) {
  /*adjust content-height because navigation moves to bottom*/
  html {
    --app-content-height: calc(var(--app-viewport-height) - var(--app-header-height) - var(--app-footer-action-bar-height) - var(--app-footer-navbar-height));
  }
}
vaadin-app-layout::part(navbar) {
  gap: 2rem;
  padding-left: 1rem;
}

header {
  width: 100%;
  height: var(--app-header-height);
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
}
header vaadin-menu-bar {
  height: var(--app-header-height);
}
header a.home-link vaadin-icon {
  width: 240px;
  height: var(--app-header-height);
}

/*allow growing to full header hight*/
vaadin-menu-bar::part(container) {
  height: 100%;
}

header vaadin-menu-bar vaadin-menu-bar-button:has(a[highlight]),
vaadin-menu-bar-overlay vaadin-menu-bar-item:has(a[highlight]) {
  background-color: var(--menu-item-highlight-background-color);
}
header vaadin-menu-bar vaadin-menu-bar-button:has(a[highlight]) a,
header vaadin-menu-bar vaadin-menu-bar-button:has(a[highlight]) span,
vaadin-menu-bar-overlay vaadin-menu-bar-item:has(a[highlight]) a,
vaadin-menu-bar-overlay vaadin-menu-bar-item:has(a[highlight]) span {
  color: var(--lumo-primary-text-color);
}

header vaadin-menu-bar vaadin-menu-bar-button,
vaadin-menu-bar-overlay vaadin-menu-bar-item {
  height: 100%;
  margin: 0;
  border-radius: var(--lumo-border-radius-l);
  background-color: inherit;
}
header vaadin-menu-bar vaadin-menu-bar-button a,
vaadin-menu-bar-overlay vaadin-menu-bar-item a {
  width: 100%;
}
header vaadin-menu-bar vaadin-menu-bar-button a,
header vaadin-menu-bar vaadin-menu-bar-button span,
vaadin-menu-bar-overlay vaadin-menu-bar-item a,
vaadin-menu-bar-overlay vaadin-menu-bar-item span {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: black;
}
header vaadin-menu-bar vaadin-menu-bar-button:hover,
vaadin-menu-bar-overlay vaadin-menu-bar-item:hover {
  background-color: var(--menu-item-highlight-background-color);
}
header vaadin-menu-bar vaadin-menu-bar-button:hover a,
header vaadin-menu-bar vaadin-menu-bar-button:hover span,
vaadin-menu-bar-overlay vaadin-menu-bar-item:hover a,
vaadin-menu-bar-overlay vaadin-menu-bar-item:hover span {
  color: var(--lumo-primary-text-color);
}
header vaadin-menu-bar vaadin-menu-bar-button span.hamburger-menu,
vaadin-menu-bar-overlay vaadin-menu-bar-item span.hamburger-menu {
  color: var(--lumo-primary-text-color);
  height: var(--lumo-icon-size-m);
  width: var(--lumo-icon-size-m);
  /*remove margin of burger-menu, because it has no label*/
}
header vaadin-menu-bar vaadin-menu-bar-button span.hamburger-menu > span,
vaadin-menu-bar-overlay vaadin-menu-bar-item span.hamburger-menu > span {
  display: none;
}
header vaadin-menu-bar vaadin-menu-bar-button span.hamburger-menu > div,
vaadin-menu-bar-overlay vaadin-menu-bar-item span.hamburger-menu > div {
  margin: 0;
}

::part(overlay) {
  min-width: 15em;
  border-radius: var(--lumo-border-radius-l);
}

/*** Navigation on mobile ***/
@media (max-width: 800px) {
  /*remove padding so that navbar can obtain full width*/
  vaadin-app-layout::part(navbar) {
    padding: 0rem 0rem;
  }
  /*show second home-link on top of page*/
  a.home-link {
    display: block;
    margin-left: 1rem; /*since the padding of navbar is removed the link needs margin*/
  }
  /*For mobile the navigation items at the bottom*/
  header vaadin-menu-bar {
    width: 100%;
    height: var(--app-footer-navbar-height);
    gap: 0;
    bottom: 0px;
    position: fixed;
    background-image: linear-gradient(var(--lumo-contrast-5pct), var(--lumo-contrast-5pct));
    display: flex;
    align-items: stretch;
    /*space menu buttons evenly*/
  }
  header vaadin-menu-bar vaadin-menu-bar-button {
    align-content: center;
    text-align: center;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
  }
  header vaadin-menu-bar vaadin-menu-bar-button a {
    width: auto;
  }
  /*move submenu to the corner of display*/
  vaadin-menu-bar-overlay {
    align-items: flex-end !important;
  }
}
@media (max-width: 660px) {
  /*remove labels in first level of menu*/
  header vaadin-menu-bar vaadin-menu-bar-button {
    /*since the labels are removed, the margin between the icons and labels should too*/
  }
  header vaadin-menu-bar vaadin-menu-bar-button a span {
    display: none;
  }
  header vaadin-menu-bar vaadin-menu-bar-button a > div {
    margin-inline-end: 0 !important;
  }
}
vaadin-scroller {
  background-color: var(--color-white);
  overscroll-behavior: contain;
  /* Center content and apply max-width constraint */
  display: flex;
  justify-content: center;
  /* Default max-width */
}
vaadin-scroller > * {
  width: 100%;
  max-width: var(--content-max-width-m);
}

/* Exceptions for max-width */
.max-width-l {
  max-width: var(--content-max-width-l);
}

.max-width-full {
  max-width: var(--content-max-width-full);
}

footer {
  height: var(--app-footer-action-bar-height);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-black-15pct) !important;
  display: flex;
  align-items: center;
}

.footer-action-bar {
  position: fixed;
  display: flex;
  align-items: center;
}
.footer-action-bar > * {
  height: var(--app-footer-action-bar-height);
  display: flex;
  align-items: center;
}
.footer-action-bar .left,
.footer-action-bar .right {
  display: flex;
  position: fixed;
  bottom: var(--lumo-space-s);
  gap: var(--lumo-space-m);
}
.footer-action-bar .left a.button,
.footer-action-bar .right a.button {
  display: flex;
  flex-direction: row;
  color: var(--lumo-primary-text-color);
}
.footer-action-bar .left a.button.primary,
.footer-action-bar .right a.button.primary {
  color: var(--color-white);
}
.footer-action-bar .left a.button vaadin-icon,
.footer-action-bar .right a.button vaadin-icon {
  color: var(--lumo-primary-text-color) !important;
}
.footer-action-bar .left {
  left: var(--spacing-default);
}
.footer-action-bar .right {
  right: var(--spacing-default);
}

@media (max-width: 800px) {
  footer#main-footer {
    bottom: var(--app-footer-navbar-height) !important;
  }
  .footer-action-bar .left,
  .footer-action-bar .right {
    bottom: var(--app-footer-navbar-height) !important;
  }
}
/* Tile look with rounded corners and colored border or background */
.appointments-view .requested-appointments {
  width: 100%;
}
.appointments-view .requested-appointments .appointment-results {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--lumo-space-l);
  margin-top: var(--lumo-space-m);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div {
  display: flex;
  flex-direction: column;
  gap: var(--lumo-space-m);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel {
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
  /* highlighting for states on the left */
  position: relative;
  overflow: hidden;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info {
  width: 100%;
  align-items: center;
  gap: var(--lumo-space-l);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .avatar {
  --vaadin-avatar-size: var(--lumo-size-xl);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .date {
  align-items: center;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .date span {
  font-size: 1.3em;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .appointment-details {
  gap: var(--lumo-space-xs);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .appointment-details > span:first-child {
  font-weight: bold;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .appointment-details .payment {
  gap: var(--lumo-space-s);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .appointment-details .payment .label {
  flex-basis: auto;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-info .appointment-details .error-appointment-info {
  color: var(--lumo-error-text-color);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons {
  flex-wrap: wrap;
  width: 100%;
  margin-top: var(--lumo-space-s);
  padding-top: var(--lumo-space-s);
  border-top: var(--default-border-width) solid var(--lumo-contrast-10pct);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .icon-btn.phone-link, .appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .icon-btn.mail-link {
  display: inline-block;
  height: 36px;
  width: 24px;
  margin: var(--lumo-space-xs) 0;
  padding: 0 calc(var(--lumo-size-m) / 4);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .icon-btn.phone-link > div, .appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .icon-btn.mail-link > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .action-btn {
  margin-left: auto;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .action-btn.request {
  flex-grow: 1;
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .action-btn.delete {
  flex-grow: 1;
}
@media (min-width: 500px) {
  .appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel .panel-action-buttons .action-btn.delete {
    flex-grow: 0;
  }
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel.pending::before, .appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel.canceled::before, .appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel.confirmed::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--lumo-space-m) / 2);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel.pending::before {
  background: var(--lumo-warning-color-50pct);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel.canceled::before {
  background: var(--lumo-error-color-50pct);
}
.appointments-view .requested-appointments .appointment-results .calendar-week-div .appointment-panel.confirmed::before {
  background: var(--lumo-success-color-50pct);
}

.availabilities-view .weekly-availabilities-table {
  border-radius: var(--default-border-radius);
  /* Style table column headers to be more prominent */
  /* Add consistent vertical spacing between rows */
  /* rounded corners */
  /* Top left corner */
  /* Top right corner */
  /* Bottom left corner */
  /* Bottom right corner */
}
.availabilities-view .weekly-availabilities-table::part(header-cell) {
  font-size: 1rem;
  font-weight: bold;
}
.availabilities-view .weekly-availabilities-table::part(row) {
  min-height: 3rem;
}
.availabilities-view .weekly-availabilities-table::part(first-header-row-cell first-column-cell) {
  border-top-left-radius: var(--default-border-radius);
}
.availabilities-view .weekly-availabilities-table::part(first-header-row-cell last-column-cell) {
  border-top-right-radius: var(--default-border-radius);
}
.availabilities-view .weekly-availabilities-table::part(last-row-cell first-column-cell) {
  border-bottom-left-radius: var(--default-border-radius);
}
.availabilities-view .weekly-availabilities-table::part(last-row-cell last-column-cell) {
  border-bottom-right-radius: var(--default-border-radius);
}

/* Tile look with rounded corners and colored border or background */
.booking-view .booking-form vaadin-button:last-child {
  margin-top: var(--lumo-space-m);
}
.booking-view .booking-form *:nth-last-child(3) {
  margin-top: var(--lumo-space-m);
}
.booking-view .price {
  width: 100%;
  box-sizing: border-box;
  gap: var(--lumo-space-xs);
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  background-color: var(--lumo-primary-color-10pct);
}
.booking-view .price .label {
  flex-basis: auto;
}
.booking-view .search-results {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--lumo-space-m);
}
.booking-view .search-results .booking-service-provider-panel {
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion {
  width: 100%;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div {
  display: flex;
  flex-direction: column;
  gap: var(--lumo-space-s);
  /* make avatar bigger and align heading to the center of the avatar*/
  /* Remove accordion disable style and toggle button, since they are always open */
  /* reduce padding bcs inserted vaadin-accordion has it already */
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .booking-service-provider-panel-heading {
  align-items: center;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .booking-service-provider-panel-heading .avatar {
  --vaadin-avatar-size: var(--lumo-size-xl);
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .booking-service-provider-panel-heading .service-provider-info {
  justify-content: center;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .booking-service-provider-panel-heading .service-provider-info p {
  margin-bottom: 0;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .booking-service-provider-panel-heading .service-provider-info p:empty {
  margin: 0;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .about-me-block p,
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .service-area-block p {
  margin: 0;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .about-me-block vaadin-accordion-heading,
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .service-area-block vaadin-accordion-heading {
  color: var(--lumo-secondary-text-color);
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .about-me-block vaadin-accordion-heading::part(toggle),
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .service-area-block vaadin-accordion-heading::part(toggle) {
  display: none;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div > vaadin-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--lumo-space-s);
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .about-me-block,
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .availability-block,
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .services-block,
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .service-area-block {
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
  padding: var(--lumo-space-s) var(--lumo-space-m);
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div .services-block[opened] {
  padding-bottom: 0;
}
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div p.service-type-info,
.booking-view .search-results .booking-service-provider-panel .service-provider-accordion > div p.appointment-time-info {
  margin: 0;
  text-align: center;
}

@media (min-width: 500px) {
  .booking-view .search-results .booking-service-provider-panel vaadin-button.mobile-full-width {
    margin-left: auto;
  }
}
/* Tile look with rounded corners and colored border or background */
vaadin-vertical-layout.care-profiles {
  display: flex;
  flex-direction: column;
  width: 100%;
}
vaadin-vertical-layout.care-profiles .care-profile-panel {
  align-items: stretch;
}
vaadin-vertical-layout.care-profiles .care-profile-panel .care-profile-tile {
  align-items: center;
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
}
vaadin-vertical-layout.care-profiles .care-profile-panel .care-profile-tile > vaadin-vertical-layout {
  gap: 0;
}

.edit-service-provider-profile {
  align-items: center;
  max-width: 500px;
}
.edit-service-provider-profile .profile-form > vaadin-button {
  margin-top: var(--lumo-space-m);
}
.edit-service-provider-profile .profile-form {
  width: 100%;
  align-self: center;
}

/* Tile look with rounded corners and colored border or background */
.imprint-view {
  align-items: stretch;
}
.imprint-view .imprint-section {
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
}

/* Tile look with rounded corners and colored border or background */
vaadin-vertical-layout.login vaadin-horizontal-layout {
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  row-gap: var(--lumo-space-l);
  column-gap: var(--lumo-space-xl);
  align-items: flex-start;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .login-section,
vaadin-vertical-layout.login vaadin-horizontal-layout .registration-section {
  gap: var(--lumo-space-m);
  flex-shrink: 1;
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
}
vaadin-vertical-layout.login vaadin-horizontal-layout .login-section p,
vaadin-vertical-layout.login vaadin-horizontal-layout .registration-section p {
  padding: 0;
  margin: 0;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .login-section {
  flex-grow: 1;
  flex-basis: 350px;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .login-section .login-form {
  width: 100%;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .login-section .login-form vaadin-login-form-wrapper {
  width: 100%;
  max-width: 100%;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .login-section .login-form vaadin-login-form-wrapper::part(form) {
  padding: 0;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .login-section .login-form vaadin-login-form-wrapper::part(footer) {
  height: 0;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .registration-section {
  flex-grow: 2;
  flex-basis: 450px;
}
vaadin-vertical-layout.login vaadin-horizontal-layout .registration-section .registration-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--lumo-space-m);
  width: 100%;
  margin-bottom: var(--lumo-space-s);
}
vaadin-vertical-layout.login vaadin-horizontal-layout .registration-section .registration-links a {
  flex: 1 0 auto;
  padding: 0 calc(var(--lumo-size-m) / 3 + var(--lumo-border-radius-m) / 2);
  height: var(--lumo-size-m);
  line-height: var(--lumo-size-m);
  border-radius: var(--lumo-border-radius-m);
  background: var(--lumo-contrast-5pct);
  color: var(--lumo-primary-text-color);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  font-weight: var(--vaadin-button-primary-font-weight, 600);
  font-size: var(--lumo-font-size-m);
}

/* Tile look with rounded corners and colored border or background */
.manage-services .service-type-accordion {
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
  padding: 0 var(--spacing-default);
}

.service-detail .requirements,
.requested-service .requirements {
  max-width: var(--content-max-width-m);
  gap: 0;
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  background-color: var(--lumo-primary-color-10pct);
}

/* Tile look with rounded corners and colored border or background */
vaadin-vertical-layout.service-provider-profile {
  display: flex;
  align-items: stretch;
  gap: var(--lumo-space-l);
  /* Add gray border on mobile for better visual separation */
}
vaadin-vertical-layout.service-provider-profile h2 {
  margin-bottom: var(--lumo-space-m);
  margin-right: 50px; /* space for corner-button*/
  text-wrap: auto;
}
vaadin-vertical-layout.service-provider-profile .relative {
  position: relative;
}
vaadin-vertical-layout.service-provider-profile .relative .corner-button {
  position: absolute;
  top: var(--lumo-space-s);
  right: var(--lumo-space-s);
  border-radius: var(--default-border-radius);
}
vaadin-vertical-layout.service-provider-profile > div {
  border-radius: var(--default-border-radius);
  padding: var(--spacing-default);
  border: var(--default-border-width) solid var(--lumo-contrast-10pct);
}
vaadin-vertical-layout.service-provider-profile .personal-data > vaadin-vertical-layout {
  align-items: center;
}
vaadin-vertical-layout.service-provider-profile .personal-data > vaadin-vertical-layout .avatar {
  --vaadin-avatar-size: var(--vaadin-profile-avatar-size);
}
vaadin-vertical-layout.service-provider-profile .personal-data > vaadin-vertical-layout h2.name {
  margin: 0;
}
vaadin-vertical-layout.service-provider-profile .personal-data > vaadin-vertical-layout .phone-link,
vaadin-vertical-layout.service-provider-profile .personal-data > vaadin-vertical-layout .mail-link {
  display: inline-block;
  height: 36px;
  width: 24px;
  margin: var(--lumo-space-xs) 0;
  padding: 0 calc(var(--lumo-size-m) / 4);
}
vaadin-vertical-layout.service-provider-profile .personal-data > vaadin-vertical-layout .phone-link > div,
vaadin-vertical-layout.service-provider-profile .personal-data > vaadin-vertical-layout .mail-link > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.users-view {
  --paged-grid-height: calc(var(--app-content-height) - 12.5em);
}

/*# sourceMappingURL=styles.css.map */
