/**
 * Login page styles
 */

.login-card {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0 auto;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #202124;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.tagline {
    color: #5f6368;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.gsi-material-button {
    user-select: none;
    appearance: none;
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    box-sizing: border-box;
    color: #3c4043;
    cursor: pointer;
    font-family: 'Google Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    height: 46px;
    letter-spacing: 0;
    outline: none;
    overflow: hidden;
    padding: 0 16px;
    position: relative;
    text-align: center;
    transition: background-color .2s, border-color .2s, box-shadow .2s;
    vertical-align: middle;
    white-space: nowrap;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    min-width: 20px;
    width: 20px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
    gap: 10px;
}

.gsi-material-button .gsi-material-button-contents {
    font-family: 'Google Sans', sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.gsi-material-button .gsi-material-button-state {
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    opacity: 0.7;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 1;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    background-color: #f8f9fa;
    border-color: #c7c9cc;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .24), 0 1px 3px 1px rgba(60, 64, 67, .12);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 6%;
}

#loader {
    display: none;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    body {
        padding: 16px;
    }

    .login-card {
        padding: 24px 16px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .gsi-material-button {
        width: 100%;
        justify-content: center;
    }
}
