/* Center login form */
.loginform {
    background: #7d29c2; /* Talland purple */
    width: 350px;
    padding: 30px;
    border-radius: 12px;

    /* Center on screen */
    margin: 0 auto;
    margin-top: 10vh;
    text-align: center;
}

/* Headline inside form */
.loginform h1, h2 {
    color: white;
    margin-bottom: 20px;
}

/* Labels */
.loginform label {
    display: block;
    color: white;
    text-align: left;
    margin: 10px 0 5px;
    font-weight: bold;
}

/* Inputs */
.loginform input[type="email"],
.loginform input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
}

/* Login button */
.loginform .loginbutton {
    background-color: black;
    color: white;
    margin-top: 20px;
    padding: 15px 50px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
}
/* password reset link */
.password-reset-link {
    color: white;
}

/* error messages */
.error li {
    background-color: rgb(200, 0, 0);
    color: rgb(255, 255, 255);
    font-size: 0.95rem;
    font-weight: bold;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: left;
}

/* styling for the forgot password pop-up */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
}

/* modal content box */
.modal-content {
    background: #7d29c2;
    color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* close button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* Form inside modal */
.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px 0;
    border-radius: 6px;
    border: none;
}

.modal-content button {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    background-color: #000000;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

/* info for reset password page */
.info {
    color: #d5d5d5;
    font-size: 0.9rem;
    margin-bottom: 10px;
}