/* LOGIN PAGE */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: lightblue;
}

body {
    font-family: Arial, sans-serif;
}

h1 {
    margin: 0;
    margin-bottom: 2rem;
}

.login-page {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically on desktop */
    padding: 20px;           /* padding on small screens */
    background-color: #5f5c5c; /* optional, gives more visual weight */
    height: 100%;
}

.login-container {
    width: 80vw;
    max-width: 550px;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
    .login-page {
        align-items: flex-start; /* top aligned on mobile */
        padding-top: 40px;
    }

    .login-container {
        width: 100%;
        max-width: none;
        min-height: 80vh; /* fill most of screen height */
        padding: 25px;
        border-radius: 0; /* optional, full-width look */
    }

    .login-label {
        font-size: 16px;
    }

    .login-textbox {
        height: 45px;
        font-size: 16px;
    }

    #login-btn {
        height: 50px;
        font-size: 16px;
        width: 100%;
    }
}

.login-textbox {
    width: 100%;
    height: 45px;
    padding: 0 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input:focus {
    outline: none;
    border-color: #838383;
}
#login-textbox-top,
#login-textbox-bot {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

#login-button-container {
    text-align: center;
}



button {
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    border-radius: 5px;
    padding: 1rem;
    background-color: #ddd;
    font-size: 1rem;
    width: 50%;
}

#login-btn {
    width: 100%;
    border-radius: 5px;
    padding: 0.5rem;
    background-color: #ddd;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
}

#reset-password-btn {
    display: inline-block;
    color: #767676;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 2rem;
    transition: all 0.2s ease;
}

#reset-password-btn:hover {
    color: #7ed957;
    transform: translateY(-1px);
}

.login-label {
    font-size: 16px;
    margin-bottom: 5px;
}

button:hover {
    transform: translateY(-1px);
    color: #7ed957;
}

button:active {
    transform: scale(0.95);
}
