﻿:root {
    --cor-principal: #3300CB;
    --cor-secundaria: #28BC9F;
    --progress-bar-color: #2c2c2c;
    --dp00: #121212;
    --dp01: #1e1e1e;
    --dp02: #232323;
    --dp03: #252525;
    --dp04: #272727;
    --dp06: #2c2c2c;
    --dp08: #2e2e2e;
    --dp12: #333333;
    --dp16: #363636;
    --dp24: #383838;
}

body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--cor-principal);
}

html {
    position: relative;
    min-height: 100%;
}

.main-button {
    display: flex;
    flex-direction: column;
    padding: 10px 20px 10px 20px;
    justify-content: center;
    text-align: center;
    align-items: center;
    transition: .3s;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
    -khtml-user-select: none;  
    -moz-user-select: none;
    -ms-user-select: none; 
    user-select: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

    .main-button:disabled {
        pointer-events: none;
        opacity: 0.4;
    }

.dp00 {
    background-color: var(--dp00) !important;
}

.dp01 {
    background-color: var(--dp01) !important;
}

.dp02 {
    background-color: var(--dp02) !important;
}

.dp03 {
    background-color: var(--dp03) !important;
}

.dp04 {
    background-color: var(--dp04) !important;
}

.dp06 {
    background-color: var(--dp06) !important;
}

.dp08 {
    background-color: var(--dp08) !important;
}

.dp12 {
    background-color: var(--dp12) !important;
}

.dp16 {
    background-color: var(--dp16) !important;
}

.dp24 {
    background-color: var(--dp24) !important;
}

.main-color {
    color: black;
    background-color: white;
}

    .main-color:hover {
        color: white;
        background-color: var(--cor-secundaria);
        box-shadow: inset 2px 2px 5px rgba(0,0,0, .3);
    }

    .main-color.active {
        color: white;
        background-color: var(--cor-secundaria);
        box-shadow: inset 2px 2px 5px rgba(0,0,0, .3);
    }

    .main-color.disabled {
        background-color: #666 !important;
        pointer-events: none;
        cursor: none;
    }

.secondary-color {
    color: white;
    background-color: var(--cor-secundaria);
}

    .secondary-color:hover {
        color: black;
        background-color: white;
        box-shadow: inset 2px 2px 5px rgba(0,0,0, .3);
    }

    .secondary-color.active {
        color: black;
        background-color: white;
        box-shadow: inset 2px 2px 5px rgba(0,0,0, .3);
    }

    .secondary-color.disabled {
        background-color: #666 !important;
        pointer-events: none;
        cursor: none;
    }

.main-text {
    color: black;
    font-weight: 400;
    font-size: 1.1rem;
}

.text-container {
    width: 50vw;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

.main-input {
    color: black;
    font-weight: 600;
    outline: 0;
    padding: 0 1rem;
    z-index: 1;
    height: 4rem;
    border: 0;
    width: 100%;
    font-size: 1.2rem;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.main-input-textarea {
    color: black;
    font-weight: 600;
    outline: 0;
    padding: 0.5rem 1rem;
    z-index: 1;
    border: 0;
    width: 100%;
    font-size: 1.2rem;
    border-radius: 10px;
    resize: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.width-fit-content {
    width: fit-content;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* Ensures it stays behind page content */
}

.wave {
    position: absolute;
    top: 80%;
    left: 0;
    width: 300%;
    height: 70vh;
    background-color: var(--cor-principal);
    border-radius: 50%;
    opacity: 0.7;
    animation: wave-animation 8s infinite ease-in-out;
}

    .wave:nth-child(2) {
        animation: wave-animation 8s infinite ease-in-out;
        animation-delay: -3s;
        opacity: 0.5;
    }

@keyframes wave-animation {
    0% {
        transform: translateX(-20%) translateY(-50%) scale(1.5, 1);
    }

    50% {
        transform: translateX(-50%) translateY(-50%) scale(1.5, 1);
    }

    100% {
        transform: translateX(-20%) translateY(-50%) scale(1.5, 1);
    }
}

.main-logo-container {
    width: 450px;
    margin-top: 20px;
}

.main-logo-container img {
    max-width: 100%;
    height: auto;
}

.tests-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    width: 50vw;
    gap: 20px;
    margin-top: 20px;
}

.clinic-case-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    width: 35vw;
}

.secondary-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--cor-secundaria);
}

.grid-container {
    width: 45vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center; /* Centers items horizontally */
    align-items: center;
}


.input-group-2 {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-group-2 .btn-2 {
        position: absolute;
        right: 10px;
        background: none;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 20;
    }

    .input-group-2 input {
        padding-right: 30px; /* Adjust space for the icon */
    }

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

.radio-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    margin-bottom: 20px;
}

.radio-item [type="radio"] {
    display: none;
}

.radio-item + .radio-item {
    margin-top: 15px;
}

.radio-item label {
    display: block;
    padding: 10px 50px;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    min-width: 250px;
    white-space: nowrap;
    position: relative;
    transition: 0.4s ease-in-out 0s;
    color: black;
}

    .radio-item label:after,
    .radio-item label:before {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .radio-item label:after {
        height: 20px;
        width: 20px;
        border: 2px solid var(--cor-principal);
        left: 10px;
        top: calc(50% - 10px);
    }

    .radio-item label:before {
        background: var(--cor-principal);
        height: 20px;
        width: 20px;
        left: 10px;
        top: calc(50% - 10px);
        transform: scale(2);
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease-in-out 0s;
    }

.radio-item [type="radio"]:checked ~ label {
}

    .radio-item [type="radio"]:checked ~ label::before {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

.animated-path {
    stroke-dasharray: 530; /* Adjust this value based on the length of each path if needed */
    stroke-dashoffset: 530;
    animation: draw-path 2s ease-in-out infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards
}

.animated-path-secondary {
    stroke-dasharray: 55; /* Adjust this value based on the length of each path if needed */
    stroke-dashoffset: 55;
    animation: draw-path 2s linear infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards
}

.animated-path-tertiary {
    stroke-dasharray: 55; /* Adjust this value based on the length of each path if needed */
    stroke-dashoffset: 55;
    animation: draw-path 2s linear infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards
}

@keyframes draw-path {
    to {
        stroke-dashoffset: 0;
    }
}

.hint-container {
    background-color: white;
    border-radius: 10px;
    border: 1px solid var(--cor-secundaria);
}

@media screen and (max-width: 768px) {
    .main-logo-container {
        width: 250px;
        margin-top: 10px;
    }

    .text-container {
        width: 100vw;
        margin-top: 10px;
        padding: 10px;
    }
    .text-container p {
        font-size: 13px;
    }

    .tests-container {
        width: 90vw;
        margin-top: 10px;
        gap: 5px;
        padding: 5px;
    }
    .tests-container h3 {
        font-size: 24px;
    }
        .tests-container p {
            font-size: 13px;
        }
        .tests-container input {
            color: black;
            font-weight: 500;
            outline: 0;
            padding: 10px;
            z-index: 1;
            height: 2.5rem;
            border: 0;
            width: 100%;
            font-size: 13px;
            border-radius: 10px;
        }

        .input-group-2 .btn-2 {
            right: 0px;
            font-size: 1.2rem;
        }

        .input-group-2 input {
            padding-right: 10px; /* Adjust space for the icon */
        }

    .main-input-textarea {
        font-weight: 500;
        outline: 0;
        padding: 10px;
        font-size: 13px;
        resize: none;
    }

    .main-button {
        padding: 10px;
        font-weight: 500;
        font-size: 13px;
    }

    .secondary-title {
        font-size: 24px;
    }
    .clinic-case-container {
        width: 90vw;
        margin-top: 10px;
        padding: 10px;
    }

    .grid-container {
        width: 90vw;
    }
    .main-text {
        font-size: 15px;
    }
}

/* For screens between 730px and 1000px */
@media screen and (min-width: 769px) and (max-width: 1640px) {
    .main-logo-container {
        width: 300px;
        margin-top: 10px;
    }

    .text-container {
        width: 70vw;
        margin-top: 10px;
        padding: 10px;
    }

    .tests-container {
        width: 70vw;
        margin-top: 10px;
        padding: 10px;
        gap: 5px;
    }

    .clinic-case-container {
        width: 70vw;
        margin-top: 10px;
        padding: 10px;
    }

    .grid-container {
        width: 70vw;
    }

    .main-text {
        font-size: 15px;
    }
}

/* For screens larger than 1000px */
@media screen and (min-width: 1641px) {
    /* Your styles here */
}

.feedback-container {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    background-color: white;
}

.feedback-title {
    font-size: 1.3rem;
}

.border-bottom-secondary {
    border-bottom: 1px solid var(--cor-secundaria);
}


.info-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

    .info-button i {
        font-size: 24px;
        color: #007bff;
    }

    .info-button:hover {
        background-color: #f8f9fa;
    }

/* Tooltip popup styling */
.tooltip-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 250px;
    text-align: left;
    z-index: 1000;
}

    .tooltip-popup::before {
        content: "";
        position: absolute;
        bottom: -10px;
        right: 20px;
        border-width: 10px;
        border-style: solid;
        border-color: #fff transparent transparent transparent;
        z-index: 1001;
    }

    .tooltip-popup::after {
        content: "";
        position: absolute;
        bottom: -11px;
        right: 19px;
        border-width: 11px;
        border-style: solid;
        border-color: #ddd transparent transparent transparent;
        z-index: 1000;
    }