body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100svh;
    max-width: 100svw;
    background-image: linear-gradient(to bottom right, #2c003e, #5c005c);
    font-family: Arial, Helvetica, sans-serif;
}
:root{
    --dark-purple: #2c003e;
    --light-purple: #5c005c;
}
form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background-color: var(--light-purple);
    color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 15px hotpink;
    padding: 20px;
    font-weight: bold;
    width: 50%;
}

input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-shadow: 0px 0px 5px hotpink;
}

.password-box {
    display: flex;
    gap: 12px;
}
.password-field{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.submit-button {
    background-color: hotpink;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    color: white;
    font-weight: bold;
}

.submit-button:hover {
    background-color: var(--light-purple);
    box-shadow: 0px 0px 10px hotpink;
}
.invalid-text {
    color: red;
    font-weight: normal;
}
.valid-text {
    color: green;
    font-weight: normal;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
@media (max-width: 768px) {
    form {
        width: 90%;
    }
}