@import url("custom.css");
@import url("star.css");
@import url("fonts.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "inter"
}

body {
    min-width: 98vw;
    min-height: 100vh;
}

    body.layout-default {
        padding: 55px 0 0 0;
    }

    body.layout-homepage {
        padding: 80px 0 0 0;
    }

    body h1,
    body h2,
    body h3,
    body h4,
    body h5,
    body h6,
    body h1 > span,
    body h2 > span,
    body h3 > span,
    body h4 > span,
    body h5 > span,
    body h6 > span {
        font-family: "Montserrat" !important;
        font-weight: 700 !important;
    }

span[data-valmsg-for]:not(.normal-validation) {
    display: none !important;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .3);
    backdrop-filter: blur(17.7px);
    -webkit-backdrop-filter: blur(11.7px);
}

.glassmorphism-dark {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .3);
    backdrop-filter: blur(17.7px);
    -webkit-backdrop-filter: blur(11.7px);
}

.blur-container {
    position: relative;
}

.blur-layer {
    position: absolute;
    backdrop-filter: blur(8px);
    z-index: 0;
}

.content-bar {
    position: relative;
    z-index: 1;
    filter: blur(10px);
}

.sharp-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-shadow: 1px 1px 4px #9a9a9a;
    font-size: .85rem;
}

.innershadow {
    box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.24) inset;
    -webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.24) inset;
    -moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.24) inset;
}

.innershadow-icon {
    color: #00000040 !important;
}

input.is-invalid::placeholder {
    color: red;
}

.navbar-top, .navbar-bottom {
    z-index: 1500;
}

.navbar-top-image {
    width: 30px;
}

.payment-plan-list > li::marker {
    font-size: .7em;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 93px;
    height: 93px;
    text-align: right;
}

    .ribbon span {
        font-size: 0.8rem;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        font-weight: bold;
        line-height: 32px;
        transform: rotate(45deg);
        width: 125px;
        display: block;
        background: #79a70a;
        background: linear-gradient(#9bc90d 0%, #79a70a 100%);
        box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
        position: absolute;
        top: 17px;
    }

        .ribbon span::before {
            content: '';
            position: absolute;
            left: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid #79A70A;
            border-right: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #79A70A;
        }

        .ribbon span::after {
            content: '';
            position: absolute;
            right: 0%;
            top: 100%;
            z-index: -1;
            border-right: 3px solid #79A70A;
            border-left: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #79A70A;
        }

.works-provided-item {
    align-items: flex-start;
    gap: 0.5rem;
}

    .works-provided-item .btn {
        height: 40px;
        align-self: flex-start;
        margin-top: 0.5rem;
    }

.list-group-categories > .list-group-item {
    background-color: #ffffff00 !important;
    border: 1px solid #a8aaab !important;
}

.social-media-icon {
    font-size: 3rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--green-light) !important;
    box-shadow: 0 0 0 0.25rem rgba(187, 221, 158, 0.25);
    color: var(--black);
    font-weight: bold;
}

.accordion-body {
    box-shadow: rgb(204, 219, 232, 0.8) 0px 0px 6px 1px inset !important;
}

.slider-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    gap: 3rem;
}

    .slider-track.animate {
        animation: scroll 25s linear infinite;
    }

    .slider-track.static {
        width: 100%;
        justify-content: space-evenly;
        gap: 0;
    }

.partner-logo {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.slider:hover .slider-track.animate {
    animation-play-state: paused;
}

.billing-time-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    overflow-x: auto;
    scrollbar-width: thin;
    
    scrollbar-color: #9f9f9f transparent;
}

    .billing-time-row button {
        flex: 0 0 auto;
        min-width: 150px;
    }

.user-picture {
    width: 100%;
    height: fit-content;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.navbar-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

    .navbar-bottom .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 64px;
        min-height: 56px;
        text-decoration: none;
        color: #fff;
        gap: 4px;
        transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
    }

        .navbar-bottom .nav-item span {
            font-size: 0.7rem;
            line-height: 1;
        }

        .navbar-bottom .nav-item.active {
            background: var(--purple-payment-plan-gradient-hover);
            border-radius: 14px;
            padding: 6px 10px;
        }

            .navbar-bottom .nav-item.active i {
                filter: drop-shadow(0 0 6px rgba(25, 135, 84, 0.6));
            }

        .navbar-bottom .nav-item:not(.active) {
            opacity: 0.4;
        }

    .navbar-bottom .nav-item-user {
        opacity: 1 !important;
    }

.carousel-workers {
    height: auto;
}

    .carousel-workers .card {
        height: 100%;
    }

.worker-text-description {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 990px) {
    .navbar-top-image {
        width: 50px;
    }
}

@media (max-width: 990px) {
    body.layout-default {
        padding: 15px 0;
    }

    body.layout-homepage {
        padding: 15px 0 60px 0;
    }

    .social-media-icon {
        font-size: 3.5rem !important;
    }

    .worker-text-description {
        -webkit-line-clamp: 10;
    }
}

@media (max-width: 767px) {
    .partner-logo {
        height: 45px;
    }

    .slider-track {
        animation-duration: 25s;
    }

    .worker-text-description {
        -webkit-line-clamp: 5;
    }
}

@media (max-width: 600px) {
    .social-media-icon {
        font-size: 3rem !important;
    }
}

@media (max-width: 576px) {
    .worker-text-description {
        width: 100%;
        -webkit-line-clamp: 3;
    }
}

@media (pointer: coarse) {
    ::-webkit-scrollbar {
        display: none !important;
    }

    * {
        scrollbar-width: none !important;
    }
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}