.oauth-divider {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}
.oauth-divider span {
    background: #fff;
    color: #888;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    font-size: 0.95em;
}
.oauth-divider:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    z-index: 0;
}
.oauth-row {
    text-align: center;
    margin: 8px 0;
}
.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 8px auto;
    height: 44px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1em;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
    cursor: pointer;
    padding: 0 18px;
}
.oauth-btn img {
    height: 28px;
    margin-right: 12px;
    background: none;
}
.oauth-btn span {
    display: inline-block;
    vertical-align: middle;
    font-size: 1em;
    color: inherit;
}
.oauth-btn.google-btn {
    background: #fff;
    color: #444;
    border: none;
}
.oauth-btn.google-btn:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(66,133,244,0.08);
}
.oauth-btn.microsoft-btn {
    background: #2F2F2F;
    color: #fff;
    border: none;
}
.oauth-btn.microsoft-btn:hover {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}
.switch-link {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    float: right;
    margin-top: 0px;
    margin-bottom: 0;
}
.switch-link:hover {
    text-decoration: none !important;
}
.forgot-row {
    margin-top: 10px;
    text-align: right;
}
.remember-row-centered {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}
.custom-oauth-btn {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    max-width: 320px;
    width: 50%;
    margin: 0 auto 10px auto;
    height: 40px;
    border-radius: 20px;
    border: 1.5px solid #222;
    background: #f5f5f5;
    font-weight: 500;
    font-size: 1em;
    text-decoration: none;
    color: #111;
    transition: box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    padding: 0 18px;
    cursor: pointer;
    gap: 10px;
    line-height: normal;
}
.custom-oauth-btn:hover {
    box-shadow: 0 2px 8px rgba(66,133,244,0.08);
    border-color: #007bff;
    color: #007bff;
}
.oauth-logo {
    height: 24px;
    width: 24px;
    background: none;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    margin-right:10px;
    padding: 0;
    flex:0 0 24px;
}
.custom-oauth-btn span {
    display: inline-block;
    font-size: 1em;
    color: #111;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
.custom-oauth-btn[href*="google"] .oauth-logo {
    margin-left: -12px;
} 