.signup-form-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    padding-bottom: 6rem;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.signup-form {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    box-sizing: border-box;
}
.form_paragraph {
    padding: 0 32px;
    text-align: center;
    line-height: 1.25;
    margin-block: 2rem;
}
.signup-form input {
    width: 100%;
    padding: 16px 12px;
    border: 2px solid #444;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

.signup-form input:focus {
    outline: none;
    border-color: #dcc70d;
    box-shadow: 0 0 8px 2px rgb(220 199 13 / 40%)
}

.signup-form label {
    position: absolute;
    top: 20px;
    color: #aaa;
    background: transparent;
    padding: 0 6px;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
}

.signup-form input:focus + label,
.signup-form input:not(:placeholder-shown) + label {
    top: -16px;
    left: 0px;
    font-size: 12px;
    color: #dcc70d;
}

.checkbox-wrapper {
    display: flex;
    position: relative !important;
    color: #8C9294;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.custom-box {
    width: 32px;
    height: 32px;
    border: 2px solid #666;
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    left: 0;
    position: relative;
}

.checkbox-wrapper input[type="checkbox"]:checked + .custom-box {
    background-color: #dcc70d;
    border-color: #b9a461;
}

.checkbox-wrapper input[type="checkbox"]:checked + .custom-box::after {
    opacity: 1;
}

.checkbox-wrapper input[type="checkbox"]:checked ~ .checkbox-text {
    color: #dcc70d;
}
.checkbox-wrapper input[type="checkbox"]:checked ~ .checkbox-text a {
    color: #fff283;
}

.custom-box::after {
    content: "v";
    position: absolute;
    font-size: 1.5rem;
    color: white;
    left: 8px;
    top: -2px;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-shadow: -1px 0px 1px #b9a461;
}

.checkbox-wrapper span {line-height: 1.4;}

.checkbox-wrapper {
    pointer-events: all !important;
    cursor: pointer;
    width: 80%;
    padding: 0 !important;
    left: 0;
}

.checkbox-wrapper label {
    position: relative;
    top: 0 !important;
    left: 0 !important;
}

.checkbox-wrapper a {
    color: #4a90e2;
    text-decoration: underline;
}

.signup-button {
    margin-top: 32px;
    width: auto;
    padding: 24px;
    background: #259BCE;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.signup-button:hover {
    background: #3c7fd3;
    transform: scale(1.02);
}

.signup-button:active {transform: scale(0.98);}

.notification {
    margin-top: 20px;
    background: #1c1c22;
    border-left: 4px solid #4a90e2;
    padding: 12px 16px;
    border-radius: 8px;
    color: #cce4ff;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.notification.show {
    opacity: 1;
    transform: translateY(0);
}


#successMessage {
    color: #53b14d;
    border-left: 4px solid #53b14d;
    padding-left: 2rem;
}

@media (max-width: 500px) {
    .signup-form input {width: 80%}
    .signup-form input:focus + label, .signup-form input:not(:placeholder-shown) + label {
        top: -16px;
        left: 32px;
        font-size: 12px;
    }
}

@media (min-width: 501px) {
    .logo img {width: 300px;}
    .checkbox-wrapper {display: flex; justify-content: center; margin-top:1rem;}
    .signup-form input {width: 400px;}
    .signup-form label {
        position: relative !important;
        top: -62px;
    }
    .signup-form input:focus + label, .signup-form input:not(:placeholder-shown) + label {
        top: -98px;
        left: -156px;
    }
}
