/* login.css - Styles for the login page (palette: #01040a and white, improved alignment) */

.login-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #f7f9fa; */
}

.login-card {
    background-color: rgb(247, 249, 250, 0.95);
    border-radius: 16px;
    padding: 2rem 2rem 2rem 2rem;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.login-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #01040a;
    letter-spacing: 0.02em;
}

.login-title {
    font-size: 2.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #01040a;
    text-align: center;
}

.login-subtitle {
    font-size: 1.12rem;
    color: #444;
    margin-bottom: 2.2rem;
    text-align: center;
}

.login-link {
    color: #01040a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.login-link:hover {
    color: #222;
    text-decoration: underline;
}

.login-social-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-decoration: none;
    outline: none;
    justify-content: center;
    min-width: 150px;
    box-sizing: border-box;
}

.login-btn-outline {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #01040a;
}
.login-btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.login-btn-primary {
    background: #01040a;
    color: #fff;
    width: 100%;
    margin-top: 0.5rem;
    border: none;
    justify-content: center;
}
.login-btn-primary:hover {
    background: #222;
}

.login-icon {
    display: inline-block;
    vertical-align: middle;
}

.login-separator {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    line-height: 0.1em;
    margin: 1.25rem 0 1.25rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-separator .bg {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    top: 0;
    left: 0;
    z-index: 0;
}
.login-separator span {
    background: #f7f9fa;
    color: #888;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: stretch;
}

.form-label {
    font-size: 0.98rem;
    color: #01040a;
    font-weight: 500;
    text-align: left;
}


.form-input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    background: #f9fafb;
    color: #01040a;
    width: 100%;
    box-sizing: border-box;
}
.form-input:focus {
    border-color: #01040a;
    background: #fff;
}

.login-footer-text {
    margin-top: 2rem;
    font-size: 0.98rem;
    color: #444;
    text-align: center;
}

.login-logo-fixed {
    position: absolute;
    top: 32px;
    left: 32px;
    width: 200px;
    height: auto;
    z-index: 10;
}
@media (max-width: 600px) {
    .login-logo-fixed {
        top: 12px;
        left: 12px;
        width: 90px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
        max-width: 98vw;
    }
    .login-page-container {
        padding: 0.5rem;
    }
    .login-btn {
        min-width: 120px;
        font-size: 0.98rem;
    }
}

canvas#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    display: block;
    background: #f7f9fa;
}
