@charset "utf-8";
/* CSS Document */

.modal {
    padding: 0 !important;
}

.modal-content {
    border: none !important;
    border-radius: 4px !important;
}

.modal-content>div {
    padding: 20px 24px !important;
}

.modal-dialog {
    margin: auto !important;
}

#activityPopup .modal-dialog, #loadingPopup .modal-dialog {
    max-width: 100%;
    max-height: 100vh;
    height: 100%;
    margin: 0;
}

#activityPopup .modal-content, #loadingPopup .modal-content, #loadingPopup .modal-body>div {
    height: 100%;
}

/* Header Section */
.modal__header__title {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.modal__header__title h3 {
    margin: 0px;
    flex: 1 1 0%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer Section */
.modal-footer button {
    background-color: #3E9EFF;
    border-radius: calc(.25rem * 1.5);
    border: none;
    color: white;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Submit Button */
.duration-200 {
    transition-duration: .2s;
}

.font-medium {
    font-weight: 500;
}

.gap-2 {
    gap: calc(0.25rem * 2);
}

.items-center {
    align-items: center;
}

.px-3 {
    padding-inline: calc(0.25rem * 3);
}

.py-2 {
    padding-block: calc(0.25rem * 2);
}

.text-sm {
    font-size: .875rem;
    line-height: 1.42857;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}

/* Check In Mood */
.mood-emoji {
    font-size: 96px;
}

.mood-number {
    font-size: 1.2em;
    text-align: center;
}

.mood-scale {
    text-align: center;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
}

.mood-scale>div {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.selected .mood-number {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
    width: 1.5em;
    height: 1.5em;
    background: rgb(224, 224, 228);
    color: rgb(134, 134, 140);
    border-radius: 50px;
    font-weight: bold;
}

#moodPopup .modal-dialog {
    margin: 40px auto;
    width: 100%;
    max-width: 700px;
    background: rgb(255, 255, 255);
    border-radius: 4px;
    overflow: hidden visible;
    border: 2px solid rgb(255, 255, 255);
    will-change: scroll-position;
    transform: translate3d(0px, 0px, 0px);
}

#submitMood[disabled] {
    display: inline-block;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    cursor: default;
    text-decoration: none;
    outline: none;
    position: relative;
    background-color: rgb(229, 229, 229);
    text-align: center;
}

@media (max-width: 750px) {
    .mood-emoji {
        font-size: 43px;
    }

    #moodPopup .modal-dialog {
        max-width: 550px;
    }
}

@media (max-width: 600px) {
    #moodPopup .modal-dialog {
        max-width: 400px;
    }
}

/* List Feeling */
.react-tabs {
    border: 4px solid rgb(244, 244, 246);
    margin: 1em 0px;
    border-radius: 4px;
}

.mood-text {
    border-radius: 0px 0px 4px 4px;
    background: rgb(255, 255, 255);
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    justify-content: space-evenly;
    -webkit-box-align: center;
    align-items: center;
    white-space: nowrap;
    padding: 1em 4px;
}

.mood-text > label {
    margin: 4px;
    width: calc(25% - 8px);
    cursor: pointer;
}

.mood-text > label div {
    text-align: center;
    padding: 0.3em 0.5em;
    transition: 100ms ease-out;
    color: rgb(123, 123, 145);
    opacity: 0.8;
    will-change: transform;
}

.mood-text > label.selected div {
    color: rgb(244, 135, 133);
    opacity: 1;
    transform: scale(1);
    border-radius: 30px;
    box-shadow: rgba(50, 50, 95, 0.1) 0px 2px 15px 0px, rgba(0, 0, 0, 0.08) 0px 1px 4px 0px;
}

@media (max-width: 600px) {
    .mood-text > * {
        width: calc(50% - 8px);
    }
}

/* Loading */
.absolute {
    position: absolute;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.left-0 {
    left: 0;
}

.relative {
    position: relative;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.top-0 {
    top: 0;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/* View User */
.user-img {
    width: 90px;
    height: 90px;
}

.user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid black;
}

#userPopup .row>div.fw-bold
{
    white-space: nowrap;
    font-weight: 700 !important;
}

@media (min-width: 576px) {
    #userPopup .row>div:last-child, #userPopup .row>div:nth-last-child(2)
    {
        margin: 0 !important;
    }
}

@media (max-width: 575px) {
    #userPopup .row>div.fw-bold, #userPopup .row>div:last-child
    {
        margin: 0 !important;
    }
}

/* View Activity */
.css-1ss1hc4 {
    text-align: center;
    vertical-align: text-top;
}

.css-bkfgf6 {
    border: 0.125rem solid rgb(229, 231, 236);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.1em;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    transition: color 150ms cubic-bezier(0.32, 0.94, 0.6, 1), background-color 150ms cubic-bezier(0.32, 0 94, 0.6, 1), border-color 150ms cubic-bezier(0.32, 0.94, 0.6, 1), box-shadow 150ms cubic-bezier(0.32,0.94, 0.6, 1), transform 150ms cubic-bezier(0.32, 0.94, 0.6, 1);
    user-select: none;
    white-space: nowrap;
    background: rgb(255, 255, 255);
    color: rgb(68, 66, 63);
    opacity: 1;
    border-radius: 50%;
    height: 3rem;
    max-width: 3rem;
    padding: calc(-0.55em + 1.375rem);
    width: 3rem;
    box-shadow: rgba(65, 61, 69, 0.2) 0px 0.125rem 0px;
}

.css-tue205 {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    font-size: 2rem;
    line-height: 2rem;
    margin: 0px;
}

.media-container {
    position: sticky;
    top: 0;
    margin-top: 1em;
    background-color: #fff;
}

audio {
    width: 100%;
}

#activityPopup .modal-body {
    overflow: auto;
}

/* Call */
.contact-type__tabs {
    border-top-left-radius: 7px !important;
    border-top-right-radius: 7px !important;
}

.emergency-contact {
    padding: 10px 0px;
    background: #0ebb13;
    color: #fff;
    margin: 0px 0px 8px;
    border-radius: 4px;
    position: relative;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.emergency-contact p {
    margin: 0 !important;
}

.emergency-contact i {
    font-size: 1.75rem;
}

.fw-light {
    font-weight: 300 !important;
}

.segmented-bar {
    font-family: Inter, sans-serif !important;
    display: flex !important;
    width: 100% !important;
    padding: 0;
    margin: 0;
}

.segmented-bar__segment {
    -ms-flex-preferred-size: 0!important;
    flex-basis: 0 !important;
    -ms-flex-positive: 1!important;
    flex-grow: 1 !important;
    -ms-flex-negative: 1!important;
    flex-shrink: 1 !important;
    -ms-flex-pack: center!important;
    -ms-flex-align: center!important;
    position: relative !important;
    margin-right: 1px !important;
    padding: 10px !important;
    line-height: 1.1 !important;
    cursor: pointer !important;
    transition: all .25s ease-in-out !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.segmented-bar__segment:first-child:after {
    background-color: #636363 !important;
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 8px !important;
    right: -1px !important;
    bottom: 8px !important;
    width: 1px !important;
}

.segmented-bar__text {
    font-size: 22px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    text-align: center !important;
}

@media (max-width: 576px) {
    .segmented-bar__segment {
        padding: 10px 12px !important;
    }
}

/* Manage Activity */
.bg-gray-200 {
    background-color: rgb(229 231 235 / 1);
}

.img-preview-local {
    display: none;
}

.object-cover {
    object-fit: cover;
}

.rounded-full {
    border-radius: 9999px;
    width: 120px;
    height: 120px;
}

.type-area, #addActivityPopup input, #addActivityPopup select, #addActivityPopup textarea, #editActivityPopup input, #editActivityPopup select, #editActivityPopup textarea {
    margin-bottom: 15px;
}

#addActivityPopup .modal-dialog, #editActivityPopup .modal-dialog {
    max-height: 100vh;
}

#addActivityPopup .modal-content, #editActivityPopup .modal-content {
    max-height: 100vh;
    display: flex;
    flex-direction: column;
}

#addActivityPopup .modal-header, #editActivityPopup .modal-header {
    flex-shrink: 0;
}

#addActivityPopup .modal-body, #editActivityPopup .modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px; /* elak scrollbar cover content */
}

#addActivityPopup span, #editActivityPopup span {
    margin-bottom: 5px;
    display: block;
}

#addActivityPopup textarea, #editActivityPopup textarea {
    min-height: calc((1.5em + .75rem + calc(1px * 2)) * 2);
}

#addActivityPopup input[type="file"], #editActivityPopup input[type="file"] {
    height: auto;
}

/* Activity Type */
.required {
    color: #ef4444;
}

.type-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.type-card {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0;
}

.type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.type-content {
    background: #ffffff;
    border: 2px solid #dbe3ef;
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    transition: all 0.25s ease;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    height: 100%;
}

.type-card:hover .type-content {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: #93c5fd;
}

.type-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.video-icon {
    background: #e0edff;
    color: #2563eb;
}

.audio-icon {
    background: #e7f8ee;
    color: #16a34a;
}

.ebook-icon {
    background: #f3e8ff;
    color: #9333ea;
}

.type-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.type-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

.type-card input[type="radio"]:checked + .type-content {
    border-color: #3b82f6;
    background: #f8fbff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.type-card input[type="radio"]:checked + .type-content .type-title {
    color: #2563eb;
}

/* Error */
label.error {
    color: #CB1B13 !important;
    font-weight: 500;
    text-transform: capitalize;
    font-size: 14px;
    display: none;
}

/* Delete */
.css-1fhv2ba {
    flex: 0 1 0%;
    padding-inline-start: var(--chakra-space-6);
    padding-inline-end: var(--chakra-space-6);
    font-size: 24px;
    font-weight: var(--chakra-fontWeights-semibold);
    padding: 0px;
    margin-bottom: var(--chakra-space-6);
}

.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important;
}

#deleteActivityPopup .modal-body {
    text-align: center;
}

#deleteActivityPopup .modal-body {
    text-align: center;
}

#deleteActivityPopup .modal-body>div {
    padding-top: 15px;
}