﻿body {
    background-color: black;
    background: linear-gradient(145deg, #191919 50%, #42424a 100%);
    font-family: Montserrat;
    font-size: 14px;
    margin: 0px;
    padding: 0px;
}

.form-container {
    position: relative;
    margin: 0px auto 0px auto;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    padding: 24px 15px;
    background: #ffffff;
    border-radius: 15px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #404040;
    margin: 0px 0px 24px 0px;
    text-align: center;
    letter-spacing: -1px;
}

.form-title-success {
    font-size: 24px;
    font-weight: 600;
    color: #404040;
    margin: 15px 10px 25px 10px;
    text-align: center;
    letter-spacing: -1px;
}

.input-group {
    margin-bottom: 0px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    height: 40px;
    padding: 0 36px;
    font-size: 14px;
    border: 1px solid #d2d6da;
    border-radius: 100px;
    background: #ffffff;
    color: #000000;
    transition: all 0.2s ease;
    font-family: Montserrat;
    font-weight: 500;
}

    .form-input::placeholder {
        color: #737373;
    }


.input-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #737373;
    pointer-events: none;
}

.avatar-button {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e5e5;
    padding: 8px 15px 8px 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #404040;
    border-radius: 100px;
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .avatar-button:hover {
        border: 1px solid #262626;
        background: #262626;
        background-image: linear-gradient(195deg, #42424a 0%, #191919 100%);
        background-size: 150%;
        background-position-x: 25%;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 8px 14px -8px rgba(38, 38, 38, 0.3), 0 3px 18px 0 rgba(38, 38, 38, 0.1), 0 7px 8px -4px rgba(38, 38, 38, 0.18);
    }

.form-fields {
    background-color: #f5f5f5;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 15px;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
    border-radius: 15px;
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transform-origin: top center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .form-fields.show {
        transform: scale(1);
        opacity: 1;
        pointer-events: auto;
        display: flex;
    }

    .form-fields label {
        display: flex;
        font-size: 12px;
        gap: 4px;
        flex: 1 1 auto;
        flex-direction: column;
        white-space: nowrap; /* prevents label text from wrapping */
    }

        .form-fields label select {
            background: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 5px center;
            background-color: white;
            background-size: 15px;

            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;

            width: auto;
            border: 1px solid #d2d6da;
            font-size: 12px;
            border-radius: 50px;
            font-family: Montserrat;
            padding: 5px 25px 5px 10px;
            min-width: max-content;
        }


.closemenuicon {
    padding: 8px 8px 0px 8px;
    color: #262626;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}


.submit-button {
    position: relative;
    width: 100%;
    height: 50px;
    margin-top: 8px;
    background: #262626;
    background-image: linear-gradient(195deg, #42424a 0%, #191919 100%);
    background-size: 150%;
    background-position-x: 25%;
    color: white;
    border: none;
    border-radius: 100px;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 2px 0 rgba(38, 38, 38, 0.1), 0 3px 1px -2px rgba(38, 38, 38, 0.18), 0 1px 5px 0 rgba(38, 38, 38, 0.15);
}

.button-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.2), transparent );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.submit-button:hover {
    background: #262626;
    box-shadow: 0 8px 14px -8px rgba(38, 38, 38, 0.3), 0 3px 18px 0 rgba(38, 38, 38, 0.1), 0 7px 8px -4px rgba(38, 38, 38, 0.18);
    transform: translateY(-1px);
}

    .submit-button:hover .button-glow {
        transform: translateX(100%);
    }

.link {
    color: #404040;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
}
    .link:hover {
        color: black;
    }

.linktext {
    text-align: center;
    margin-top: 15px;
    color: #404040;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 400;
}


.error {
    margin-top: 15px;
    margin-bottom: 5px;
    font-family: Montserrat;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    background: #EF665B;
    border-radius: 25px;
    box-shadow: 0px 0px 5px -3px #111;
}

.error__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-right: 8px;
}

    .error__icon path {
        fill: #fff;
    }

.error__title {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

.error__close {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
}

    .error__close path {
        fill: #fff;
    }

#bg {
    position: fixed;
    background: cover;
    background: linear-gradient(145deg, #191919 50%, #42424a 100%);
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    z-index: -2;
}

.dark-button {
    width: 400px;
    padding: 15px 25px;
    background: #262626;
    background-image: linear-gradient(195deg, #42424a 0%, #191919 100%);
    background-size: 150%;
    background-position-x: 25%;
    color: white;
    border: none;
    text-decoration: none;
    border-radius: 100px;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 2px 0 rgba(38, 38, 38, 0.1), 0 3px 1px -2px rgba(38, 38, 38, 0.18), 0 1px 5px 0 rgba(38, 38, 38, 0.15);
}

    .dark-button:hover {
        background: #262626;
        box-shadow: 0 8px 14px -8px rgba(38, 38, 38, 0.3), 0 3px 18px 0 rgba(38, 38, 38, 0.1), 0 7px 8px -4px rgba(38, 38, 38, 0.18);
        transform: translateY(-1px);
    }

button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}


.checkmark {
    margin: auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: white;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #191919;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #191919;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 40px #191919;
    }
}