@tailwind base;
@tailwind components;
@tailwind utilities;
 
@layer base {
    :root {
        --background: 0 0% 100%;
        --foreground: 240 10% 3.9%;
    
        --muted: 240 4.8% 95.9%;
        --muted-foreground: 240 3.8% 46.1%;
    
        --popover: 0 0% 100%;
        --popover-foreground: 240 10% 3.9%;
    
        --card: 0 0% 100%;
        --card-foreground: 240 10% 3.9%;
    
        --border: 240 5.9% 90%;
        --input: 240 5.9% 90%;
    
        --primary: 240 5.9% 10%;
        --primary-foreground: 0 0% 98%;
    
        --secondary: 240 4.8% 95.9%;
        --secondary-foreground: 240 5.9% 10%;
    
        --accent: 240 4.8% 95.9%;
        --accent-foreground: 240 5.9% 10%;
    
        --destructive: 0 72.2% 50.6%;
        --destructive-foreground: 0 0% 98%;
    
        --ring: 240 10% 3.9%;
    
        --radius: 7px;
    }
}
 
@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

html {
	font: normal 18px / 20px Montserrat, "Segoe UI", Arial, Tahoma, Verdana, sans-serif;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    cursor: default;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background-image: url("/images/bg-1500.png");
    backdrop-filter: blur(50px);
    margin: 0;
    padding: 0;
    height: 100vh;
}

body * {
    touch-action: pan-y !important;
}

* {
	box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
}
*::after,
*::before {
	box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
}

/* Custom Scrollbars */
.sb::-webkit-scrollbar {
    width: 0.45em;
    background-color: transparent;
}
.sb::-webkit-scrollbar-thumb {
    background-color: hsl(0 0% 0% / 0.2);
    border-radius: 50px;
}

.header {
    display: flex;
    height: 90px;
    align-items: center;
    padding: 0px 30px;
}
.header .section {
    width: 100%;
}
.header .logo {
    width: 100%;
    background-image: url("/images/branding/logo-dark-transparent.png");
    display: inline-block;
    height: 80%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.header .right {
    text-align: right;
}
.header .right .logout-btn {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    color: #320c6e;
}
.body {
    display: flex;
}
.body .sidebar {
    width: 20%;
    min-width: 20%;
}
.body .content {
    width: 100%;
    padding: 20px 30px 100px;
    height: calc(100vh - 90px);
    overflow: auto;
}

.body .sidebar .menu .item {
    display: flex;
    margin: 10px 20px;
    padding: 15px 10px;
    text-decoration: none;
    color: black;
    font-weight: 500;
    font-size: 19px;
    align-items: center;
    border-radius: 7px;
}
.body .sidebar .menu .item.active {
    background-color: #ffffff30; /*#0000000a*/
}
.body .sidebar .menu .item svg {
    margin-right: 12px;
    color: #00000063;
    transition: color 100ms;
}
.body .sidebar .menu .item:hover svg {
    color: #000000;
}
.body .sidebar .menu .item.active svg {
    color: black;
}

.font-display {
    font-family: "DM Serif Display", "Montserrat", "Segoe UI", sans-serif;
}

.body .heading {
    font-family: "DM Serif Display", "Montserrat", "Segoe UI", sans-serif;
    margin: 0 0px 30px;
    font-weight: 400;
    font-size: 2rem;
}

.feeling-bar {
    position: fixed;
    bottom: 25px;
    left: 0;
    right: 0;
    margin: auto;
    width: 50%;
    background-color: #ffffffde;
    height: 60px;
    border-radius: 100px;
    overflow: hidden;
    display: flex;
    box-shadow: 0px 1px 3px #0000001c;
    border: 2px solid transparent;
    transition-duration: 100ms;
}
.feeling-bar.active {
    border: 2px solid #000000;
    background-color: white;
}
.feeling-bar .icon {
    width: 45px;
    min-width: 45px;
    background-image: url("/images/branding/favicon-dark-color-circle.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 7px;
}
.feeling-bar input {
    border: 0;
    outline: none;
    background-color: transparent;
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    padding: 0px 20px;
    font-weight: 500;
}

.overall-mood .mood-num {
    font-size: 2rem;
}
.overall-mood .remark {
    color: #000000a1;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 500;
}
.overall-mood svg {
    display: inline-block;
    width: 50px;
    height: 50px;
    fill: #544d5e;
    margin-bottom: 10px;
}

a.link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #65519e;
}
a.link:hover {
    text-decoration: underline;
}
.home .quick-links a.link {
    display: block;
    margin-bottom: 5px;
}

.auth {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.auth .logo {
    height: 80px;
    width: 80px;
    background-image: url("/images/branding/logo-dark-transparent.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 30px;
}

.timeline .timeline-item .opposite-block, .timeline .timeline-item .timeline-opposite-content {
    flex: 0 !important;
    margin: 0 !important;
}
.timeline .timeline-dot {
    background-color: #9977e299 !important;
    border: 0 !important;
}
.timeline .timeline-connector {
    background-color: #00000036 !important;
    width: 1px !important;
}

.day-timeline .time {
    font-weight: 600;
    font-size: 0.8rem;
}
.day-timeline .text {
    font-weight: 500;
    font-size: 0.9rem;
    color: #626262;
}
.day-timeline .time svg {
    display: inline-block;
    width: 1rem;
    margin-top: -1px;
    color: #00000070;
    margin-right: 5px;
}

.page-notif {
    color: #000000a1;
}
.page-notif svg {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
    color: inherit;
}
.page-notif h1 {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
}

.body.journal .journal-text {
    background-color: #ffffff29;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    white-space: pre-wrap;
    border-left: 4px solid #a132d3;
}

.body .info-text {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #696969;
    gap: 8px;
}

.body.meditation .meditate-action-box {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: #6869ff;
    background: url("/images/meditation/wallpaper-2.jpg");
    background-position: center;
    background-size: 100%;
    height: 150px;
    border-radius: 7px;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    font-family: "DM Serif Display";
    box-shadow: 0px 1px 4px #00000033;
    cursor: pointer;
    transition: background-size 200ms;
}
.body.meditation .meditate-action-box:hover {
    background-size: 110%;
}

.meditate-root {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 99999999;
    background-image: url(/images/meditation/wallpaper-1.jpg);
    background-position: center;
    background-size: cover;
    background-blend-mode: darken;
    background-color: #00000024;
    color: white;
    display: flex;
    flex-direction: column;
}
.meditate-root .meditate-header {
    display: flex;
    height: 75px;
    min-height: 75px;
    padding: 0px 75px;
    align-items: center;
}
.meditate-root .content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.meditate-root .footer {
    height: 150px;
    min-height: 150px;
    padding: 0px 75px;
}
.meditate-root .footer .title {
    font-size: 2rem;
    font-weight: 600;
}
.meditate-root .footer .subtitle {
    font-size: 1.1rem;
}
.meditate-root .content .timer {
    text-align: center;
    width: 30%;
}
.meditate-root .content .timer .count {
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: 6px;
}
.meditate-root .content .buttons {
    display: flex;
    background-color: #ffffff38;
    justify-content: space-between;
    border-radius: 100px;
    padding: 5px 10px;
    width: 240px;
    margin: auto;
}
.meditate-root .content .buttons button {
    height: 50px;
    width: 50px;
    text-align: center;
    border-radius: 100px;
}
.meditate-root .content .buttons button svg {
    display: inline;
    width: 100%;
    height: 100%;
}
.meditate-root .meditate-header .exit {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    gap: 10px;
    border-bottom: 2px solid;
}
.btn-light {
    background-color: #ffffff40 !important;
}
.smartwatch-svg {
    background-image: url("/images/smartwatch.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}