/* Homepage / welcome */

body.home {
    margin: 0;
    background: linear-gradient(0deg, rgb(116 178 198) 0%, rgb(203 243 255) 100%);
}

#canvas {
    display: block;
    position: absolute;
    opacity: 0.7;
}

.home main {
    background-color: rgb(171, 226, 244);
    background: linear-gradient(0deg, rgb(116 178 198) 0%, rgb(203 243 255) 100%);
    width: 100%;
    height: 100vh;
    font-family: 'Lato', sans-serif;
}

.home-center-wrapper {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-overlay {
    background-color: #2aa3cb6e;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    z-index: 999;
    position: absolute;
    backdrop-filter: blur(30px);
}

#login-container {
    background-color: #fafdffbd;
    display: flex;
    max-width: 60%;
    min-height: 100%;
    width: 50%;
    flex-direction: column;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0px 4px 20px #b9d7e163;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-sizing: border-box;
}

.login-card {
    width: 290px;
    padding: 30px;
    background-color: #f5f8f9bf;
    border: 1px solid #a5dced;
    border-radius: 12px;
    box-shadow: 2px 2px #9cd5e8;
    box-sizing: border-box;
}

.login-errors {
    background-color: #fed7d7;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 10px;
}

.login-errors p {
    color: #c53030;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
}

.login-status {
    background-color: #c6f6d5;
    border: 1px solid #9ae6b4;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 10px;
}

.login-status p {
    color: #276749;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a5568;
}

.login-field input {
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.login-field input:focus {
    border-color: #72c8e3;
}

.login-submit {
    padding: 12px;
    background: linear-gradient(135deg, #72c8e3 0%, #5fb8d6 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 200, 227, 0.3);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
}

.login-divider-line {
    flex: 1;
    height: 1px;
    background: #cbd5e0;
}

.login-divider span {
    font-size: 0.85rem;
    color: #718096;
}

.google-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: background-color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.google-signin:hover {
    background-color: #f7fafc;
    border-color: #a0aec0;
}

.login-register {
    text-align: center;
    margin-top: 18px;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 400;
}

.login-register a {
    color: #72c8e3;
    text-decoration: none;
    font-weight: 600;
}

.login-register a:hover {
    text-decoration: underline;
}

.home-promo-panel {
    display: flex;
    max-width: 60%;
    min-height: 100%;
    width: 50%;
    flex-direction: column;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0px 4px 20px #b9d7e163;
    align-items: center;
    justify-content: center;
}

.home-promo-bar {
    width: 80%;
    height: 50px;
    border: 4px solid white;
    background-color: #afdfeb;
    border-radius: 100px;
}

.imp {
    color: #efb7b7;
}

#logo-mobile {
    display: none;
}

#logo-mobile .logo-mobile-accent {
    color: #fde8ff;
}

@media (max-width: 768px) {
    #logo-mobile {
        display: block;
        position: absolute;
        top: 10px;
        margin: 0;
        font-family: 'Josefin Sans', sans-serif;
        font-size: 50px;
        font-weight: 700;
        line-height: 70px;
        color: #d5f1f8;
        transform: skewX(-5deg);
        user-select: none;
        text-shadow: 1px 1px 2px #2498cb;
    }

    .home-overlay {
        flex-direction: column;
        justify-content: center;
        height: auto;
        min-height: 100vh;
        padding: 20px;
        box-sizing: border-box;
    }

    #login-container {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        height: auto;
    }

    .login-card {
        width: 100%;
        max-width: 100%;
    }

    .home-promo-panel {
        display: none;
    }
}
