/*
App static/login_page.css
Aaron/Akash - Final Project - AdvWebDev
Description: Styling for the login page
*/

body 
{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url("/static/img/backgrounds/chalkBoardBackground.jpeg");
    background-size: 100% 100%;  
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.page-wrapper 
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transform: translateY(-10%);
}

.login-box 
{
    background: white;
    padding: 30px 40px;
    width: 360px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.login-box h2 
{
    text-align: center;
    margin-bottom: 20px;
}

.login-box form 
{
    margin: 0;
}

.input-field 
{
    width: 100%;
    padding: 10px;
    margin: 6px 0 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    display: block;
}

/* Primary login submit */
.login-submit-button 
{
    display: block;
    width: 80%;
    margin: 20px auto 0;
    padding: 12px;
    background: #1877f2;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

.login-submit-button:hover 
{
    background: #0f5dc8;
}

.create-account-button 
{
    display: block;
    width: 80%;
    margin: 12px auto 0;
    padding: 10px;
    background: #f1f1f1;
    color: #333;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

.create-account-button:hover 
{
    background: #e4e4e4;
}

.create-account-submit-button
{
    display: block;
    width: 80%;
    margin: 20px auto 0;
    padding: 12px;
    background: #1877f2;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

.create-account-submit-button:hover 
{
    background: #0f5dc8;
}

.back-to-login-button 
{
    display: block;
    width: 80%;
    margin: 12px auto 0;
    padding: 10px;
    background: #f1f1f1;
    color: #333;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

.back-to-login-button:hover 
{
    background: #e4e4e4;
}

.google-login-section 
{
    width: 80%;
    margin: 18px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* "or" separator*/
.google-or {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
    text-align: center;
}

.google-or::before,
.google-or::after 
{
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.google-login-button 
{
    width: 90%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
}

.google-login-button:hover 
{
    background: #f7f8f9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.google-logo 
{
    width: 18px;
    height: 18px;
}

.flash-msg 
{
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
}

.flash-msg.success 
{
    color: #2e7d32;
}

.auth-error-msg 
{
    color: red;
    font-size: 13px;
    width: 80%;
    margin: 12px auto 0;
    text-align: center;
    min-height: 18px;
}

.hidden 
{
    display: none;
}
