/**
 * Styles for Koncentracio
 */

/********
		* 1.0: Global Elements
		* 2.0: Filtering
		* 
		* 
********/

/*****************************************************************/

/**
 * 1.0 Global Elements
 */

/*****************************************************************/

/* Fonts */
h1, h2, h3, h4, h5, p {
  color: #5C5C5C;
  line-height: 1.4;
  margin: 0px;
}

h1.global-page-title {
	font-size: 21px;
	font-weight: 600;
}

h2.global-subheading {
	font-weight: 600;
	font-size: 16px;
}

h3.global-subheading {
	font-weight: 600;
	font-size: 15px;
}

p.global-page-description {
	font-size: 13px;
}

.global-subheading.calendar-date {
	min-width: 170px;
	text-align: right;
	color: #2E86AB;
}

/* Page Containers */
.global-page-container {
	display: flex;
	flex-direction: column;
	padding: 10px 20px 20px 20px;
	gap: 30px;
	height: calc(var(--vh, 1vh) * 100 - 90px);
}

.global-page-container.home {
	gap: 16px!important;
}

.global-page-container.calendar {
	gap: 4px!important;
}

/* Panels */
.global-analytics-panel {
	border-radius: 12px;
    padding: 8px;
    background-color: #fafafa;
}

/* Inner Page Containers – Split */
.global-page-container-inner-split {
	display: flex;
	align-items: center;
	justify-content: space-between;
  top: 0;
  z-index: 1;
}

.global-page-container-inner-split.sticky {
	position: sticky;
}

.global-page-header-inner-left {
	/* padding-right: 6%; */
}

.global-page-header-inner-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	flex: 1;
}

/* Page Container Inner – Stretch */
.global-page-container-inner-stretch {
	margin: -20px -20px -20px -20px;
	flex: 1;
}

/* Global Options */
.global-options-container {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 15px 15px 80px 15px;
  justify-content: center;
  overflow: auto;
}

.global-options-container.white {
  background-color: #fff;
  padding: 15px;
  justify-content: flex-start;
  gap: 0px;
}

.global-options-container img {
  max-width: 130px;
}

.global-options-container-inner.first, .global-options-container-inner.second {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  max-height: 30%;
  padding: 0px 30px;
}

.global-options-container-inner.first {
  background-color: rgba(145, 142, 244, 1);
}

.global-options-container-inner.second {
  background-color: rgba(68, 207, 203, 1);
}

.global-options-container-inner h3 {
  color: #fafafa;
  font-size: 20px;
  font-weight: 600;
}

.global-options-container-inner p {
  color: #fafafa;
  font-weight: 600;
  font-size: 13px;
}

/* Spacing */
.global-space-top {
  margin: 8px 0px 0px 0px;
}

.global-space-bottom {
  margin: 0px 0px 12px 0px!important;
}

.global-space-bottom-extended {
  margin: 0px 0px 20px 0px;
}

.global-font-space-bottom {
	margin-bottom: 3px;
}

.global-font-space-bottom-extended {
	margin-bottom: 6px;
}

.global-section-space-top {
	margin-top: 20px;
}

/* Highlight */
.global-full-stop-highlight {
  color: #FC6471;
  font-size: 20px;
  line-height: 0;
}

/* Completed Checkmark */
.global-complete-checkmark {
  max-width: 14px;
  background-color: rgba(130, 192, 154, 0.1);
  padding: 7px;
  border-radius: 100px;
  margin-left: 8px;
}

/*****************************************************************/

/**
 * 2.0 Filtering
 */

/*****************************************************************/

.category {
  border-radius: 5px 14px;
  border-style: solid;
  border-color: #EFF7FB;
  border-width: 1px;
  background-color: #EFF7FB;
  color: #2E86AB;
  padding: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 21%;
  margin: 4px;
  font-size: 12px;
  text-transform: capitalize;
}

.category.active {
  border-color: #2E86AB;
  border-style: solid;
}

#categoryFiltering {
  width: 100%;
}

/*****************************************************************/

/**
 * 3.0 Calendar
 */

/*****************************************************************/

/* Layout Styles */
.fc-timegrid-slot, .fc .fc-daygrid-day.fc-day-today {
	background-color: #fff;
}

.fc-dayGridMonth-button, .fc-button, .fc-button-primary, .fc-button-active {
    border-style: none!important;
    border-color: transparent!important;
    color: #2E86AB!important;
    font-size: 12px!important;
    text-transform: capitalize!important;
    background-color: transparent!important;
}

.fc-footer-toolbar.fc-toolbar.fc-toolbar-ltr {
  justify-content: center;
  padding: 0px 20px;
  margin: -60px 0px 10px 0px;
  z-index: 1;
}

.fc-button-group {
  gap: 20px;
  background-color: rgba(239, 247, 251, 1);
  padding: 4px 16px;
  border-radius: 12px;
}

.fc-timegrid-divider {
	display: none!important;
}

.fc .fc-scrollgrid {
	border-style: none!important;
}

.fc .fc-scrollgrid-section-footer > *, .fc .fc-scrollgrid-section-header > * {
	border-bottom-width: 1px!important;
}

:root {
  --fc-now-indicator-color: #FC6471;
}

.fc-day-today {
  background-color: rgb(97, 189, 146, 0.2);
}

/* Month View */
.fc-event-time, .fc .fc-timegrid .fc-daygrid-body, .fc-col-header{
	display: none;
}

.fc-event-title {
	font-size: 10px;
}

/* Fonts */
.fc-col-header-cell-cushion {
	font-weight: 600;
	font-size: 14px;
}

.fc-timegrid-slot-label-cushion, .fc-daygrid-day-number {
	font-weight: 600;
	font-size: 12px;
}

/*****************************************************************/

/**
 * 4.0 Habits
 */

/*****************************************************************/

/* Divider */

.item-divider {
	display: flex;
	align-items: center;
}

.item-divider-line {
  height: 60px;
  width: 2px;
  margin: -8px 0px -8px 21px;
  position: relative;
  z-index: 1;
}

.item-divider-free-time {
  font-size: 9px;
  background-color: #fafafa;
  border-radius: 6px;
  padding: 4px 10px;
  margin-left: 6px;
}

.habit.disable-draggable-content {
  padding: 0px;
  margin: 0px;
  border-style: none;
}

/*****************************************************************/

/**
 * 5.0 Home
 */

/*****************************************************************/

.touch-move-bar {
  background-color: #E0E0E0;
  height: 5px;
  border-radius: 8px;
  width: 40px;
  margin: 0px auto 20px auto;
  display: block;
}

/*****************************************************************/

/**
 * 6.0 StopWatch
 */

/*****************************************************************/

/**
 * Graphics
 */

.stopwatch-graphic {
    position: relative;
    width: 25px;
    height: 25px;
    display: none;
}

.circle-background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #F7F5F3; /* Light grey background */
    overflow: hidden; /* Prevent any overflow from the circle */
}

.circle-progress {
    position: absolute;
    bottom: 0; /* Start from the bottom */
    width: 100%;
    height: 0; /* Initial height is 0 */
    border-radius: 50%;
    background-color: rgb(97, 189, 146);
    /* background-color: #2196F3; */
    transition: height 1s ease-in-out; /* Smooth transition for the filling effect */
    overflow: hidden; /* Ensure it doesn't overflow outside the circle */
    clip-path: circle(100% at 50% 50%); /* Ensure it stays within the circular shape */
}

.circle-wave {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px; /* The height of the wave */
    background-color: rgba(255, 255, 255, 0.2); /* Light wave color */
    border-radius: 50%;
    animation: wave-animation 3s ease-in-out infinite;
}

@keyframes wave-animation {
    0% {
        transform: translateY(0) scaleX(1.5);
    }
    50% {
        transform: translateY(-5px) scaleX(1.2);
    }
    100% {
        transform: translateY(0) scaleX(1.5);
    }
}

/*****************************************************************/

/**
 * 6.0 Focus
 */

/*****************************************************************/

.focus-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
  gap: 30px;
  background-color: #0E131B;
  padding-bottom: 100px;
}

.focus-item-header {
  color: #fafafa;
}

liquid-fill-gauge {
  --liguid-fill-color: #151C28!important;
  --liguid-fill-forward-color: #0E131B!important;
  --liguid-fill-backward-color: #151C28!important;
}

.focus-container .circle-background {
  background-color: #151D28;
}

.focus-container .circle-wave {
    height: 8px;
    background-color: #151D28;
    animation: focus-wave-animation 3s ease-in-out infinite;
}

@keyframes focus-wave-animation {
    0% {
        transform: translateY(0) scaleX(1.5);
    }
    50% {
        transform: translateY(-2px) scaleX(1.4);
    }
    100% {
        transform: translateY(0) scaleX(1.5);
    }
}

.focus-button-secondary, .focus-button-primary, .focus-button-additional {
  border-radius: 5px 14px;
  border-style: solid;
  border-color: #151C28;
  border-width: 1px;
  background-color: #151C28;
  color: #EFF7FB;
  padding: 5px 16px;
  display: flex;
  margin: 4px;
  font-size: 12px;
}