body {
    margin: 0;
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    background-color: #070825;
    min-height: 100vh;
    width: 100%;
}

.block {
    background: rgba(0, 0, 0, 0.3);
    padding: 1vw;
    margin: 5px 0;
    border-radius: 15px;

    color: white;
    position: relative;
}

.block-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    display: flex;
}

/* Links */
a {
    color: #ff9900;
    /*text-decoration: none;  !* removes underline, optional *!*/
    font-weight: bold;
}

a:hover {
    color: #ffb84d;
    text-decoration: underline;
}

a:visited {
    color: #ffd699;
}


.nice-buttons {
    background-color: #edf2f7;
    width: fit-content;
    border-radius: 5px;
    margin: 0 auto;
}

.nice-buttons label {
    align-items: center;
    font-weight: bold;
    color: #838585;
    margin: 4px;
    padding: 5px 10px;
}

.nice-buttons label:hover {
    cursor: pointer;
    color: #3c4043;
}

.nice-buttons label:has(input[type="checkbox"]:checked) {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    color: #3184d1;
}

.check-button{
    margin-top: 0.5rem;
}

/* CREDENTIAL CHECK STYLE */
.error-message {
    color: #dc3545;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.1);
}

.success-message {
    color: #28a745;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(40, 167, 69, 0.1);
}

.nice-group {
    position: relative;
    padding: 15px 0 0;
    margin-top: 10px;
    /*width: 50%;*/
}

.nice-textbox {
    font-family: inherit;
    width: 100%;
    border: 0;
    border-bottom: 2px solid #9b9b9b;
    outline: 0;
    font-size: 1.3rem;
    color: #fff;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;

    &::placeholder {
        color: transparent;
    }

    &:placeholder-shown ~ .nice-label {
        font-size: 1.3rem;
        cursor: text;
        top: 20px;
    }
}

.nice-label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #9b9b9b;
}

.nice-textbox:focus {
    ~ .nice-label {
        position: absolute;
        top: 0;
        display: block;
        transition: 0.2s;
        font-size: 1rem;
        color: #11998e;
        font-weight:700;
    }
    padding-bottom: 6px;
    font-weight: 700;
    border-width: 3px;
    border-image: linear-gradient(to right, #11998e,#38ef7d);
    border-image-slice: 1;
}

/* reset input */
.nice-textbox{
    &:required,&:invalid { box-shadow:none; }
}

.button-to-center-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
}

