﻿.registerWrapper {
    height: 130vh;
    display: grid;
    place-content: center;
}

    .registerWrapper form {
        width: clamp(280px, 90vw, 450px);
        background-color: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

@media (max-width: 400px) {
    .registerWrapper {
        height: 150vh;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.registerHeader {
    display: grid;
    grid-template-columns: 5% 90%;
}
    .registerHeader img
    {
        width: 15px;
        cursor: pointer;
    }

    .registerHeader h3 {
        font-family: "Hikasami-Semibold";
        font-size: 30px;
        font-weight: 500;
        line-height: 12px;
        text-align: center;
    }

.input {
    display: flex;
    flex-direction: column;
    position: relative;
}
    .input label
    {
        margin-bottom: 6px;
        font-weight: 500;
        font-size: 12px;
    }

input {
    background-color: #e2e2e2;
    outline: none;
    border: 1px solid #e2e2e2;
    border-radius: 15px;
    color: #111;
    padding: 10px;
}

.error-container {
    min-height: 20px; 
    transition: min-height 0.3s ease;
}

.register-error {
    color: red;
    font-size: 10px;
    margin: 0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.registerFooter {
    width: 100%;
    position: relative;
    margin-top: 10px;
}

    .registerFooter button
    {
        background-color: #1fa2f1;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: 28px;
        padding: 5px 30px;
        gap: 0px;
        border-radius: 17px;
        outline: none;
        border: 1px solid #ffffff;
        cursor: pointer;
        text-align: center;
        width: 100%;
    }

    .registerFooter a {
        color: #1fa2f1;
        text-decoration: none;
    }

    .registerFooter p {
        font-size: 12px;
        text-align: center;
        margin-top: 10px;
    }

.registerPolicy {
    display: flex;
    align-items: center;

}

.registerPolicy-label {
    line-height: 10px;
    margin-left: 10px;
}

.registerPolicy-label p {
    font-size: 10px;
    margin: 0;
    display: inline;
    font-family: "Hikasami-Semibold";
}

.downloadLink {
    color: #1fa2f1;
    text-decoration: none;
}

    .downloadLink:hover {
        text-decoration: underline;
    }

.tooltipWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

    .tooltipWrapper:hover .tooltip,
    .tooltipWrapper:hover .questionMark,
    .tooltip:hover {
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }

.questionMark {
    cursor: pointer;
    font-size: 30px;
    font-weight: bold;
    color: #1fa2f1;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.tooltip {
    position: absolute;
    top: 100%;
    background-color: #333;
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .tooltip a {
        color: #1fa2f1;
        text-decoration: none;
    }

        .tooltip a:hover {
            text-decoration: underline;
        }


@media (max-width: 600px) {
    .registerPolicy input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .registerPolicy label p {
        font-size: 11px;
        line-height: 1.3;
    }
}


