/* Login Page Specific Styles */

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 15px;
    /* Twitter base font size */
    font-weight: 400;
    line-height: 1.3125;
    /* Twitter line height */
    min-height: calc(100vh - 53px);
    /* Full viewport height minus header/footer */
}

.login-container-justify-center {
    max-width: 800px;
    width: 100%;
}

.login-layout-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
    width: 100%;
}

h4.text-primary.mb-3 {
    margin-top: 0;
    font-size: var(--font-md);
    color: var(--text-secondary);
}

/* Why Sign In Section (Left Column) */
.why-sign-in-section {
    flex: 1;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-sign-in-title {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: var(--font-xl);
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.why-sign-in-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.why-sign-in-list li {
    color: var(--text-muted);
    font-size: var(--font-sm);
    padding: 12px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-sign-in-list li:last-child {
    border-bottom: none;
}

.why-sign-in-list li svg {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Login Form Section (Right Column) */
.login-form-section {
    flex: 1;
}

.login-card {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 40px 15px;
    height: 100%;
}

.login-header {
    text-align: center;
}

.login-header h1 {
    font-weight: 700;
    /* Bold for header */
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: var(--font-md);
    /* Twitter header size */
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.3125;
}

.login-header p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: var(--font-xs);
    /* Smaller for subtitle */
    font-weight: 400;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.3125;
}

.google-btn-container {
    display: flex;
    justify-content: center;
    margin: 20px 0 10px 0;
}

/* Simple custom Google button style — change as you like */
.google-custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    cursor: pointer;
    user-select: none;
    transition: transform .06s ease;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.google-custom-btn:hover {
    transform: translateY(-1px);
}

.google-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url('data:image/svg+xml;utf8,<svg width="800px" height="800px" viewBox="-3 0 262 262" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027" fill="%234285F4"/><path d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1" fill="%2334A853"/><path d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782" fill="%23FBBC05"/><path d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251" fill="%23EB4335"/></svg>') center/contain no-repeat;
}

.google-custom-btn .label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.1px;
}

.google-custom-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.terms-text {
    color: var(--text-muted);
    font-size: var(--font-xs);
    /* Smaller for terms */
    font-weight: 400;
    line-height: 1.3125;
    text-align: center;
    margin-top: 1.5rem;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.terms-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-layout-container {
        flex-direction: column;
    }

    .login-container {
        min-height: 100%;
    }

    .login-header h1 {
        font-size: var(--font-xl);
    }

    .login-header h4 {
        font-size: var(--font-md);
    }

    .login-header p {
        font-size: var(--font-xs);
    }

    .terms-text {
        font-size: var(--font-xs);
    }

    .why-sign-in-section {
        padding: 30px 20px;
    }

    .login-card {
        padding: 30px 20px;
    }

    .why-sign-in-title {
        margin-bottom: 15px;
    }

    .why-sign-in-list li {
        font-size: 14px;
        padding: 10px 0;
    }

    .why-sign-in-list li svg {
        width: 18px;
        height: 18px;
    }
}