﻿/* Common external login button styles */
.external-login {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 40px;
    padding: 0 16px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 4px;
    color: #fff !important; /* ensure strong contrast on blue backgrounds */
    font-weight: 600;
    background-blend-mode: normal;
    filter: none;
    transition: background-color 0.3s;
}

.external-login * {
    color: inherit !important; /* keep inner text from being dimmed */
}

.full-width {
    width: 100%;
}

/* Icon-only external login buttons */
.external-login.icon-only {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 8px;
    justify-content: center;
}

.external-login.icon-only .external-login-icon {
    margin-right: 0;
    width: 28px;
    height: 28px;
}

/* External login button icons */
.external-login-icon {
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 35px;
    height: 35px;
    margin-right: 8px;
    filter: none !important; /* keep provider icons crisp */
}

.external-login:hover {
    filter: brightness(1.05);
}

/* Microsoft external login button */
.microsoft-external-login {
    background-color: #2F2F2F;
}

.microsoft-external-login-icon {
    background-image: url('../icons/icons8-microsoft-48.png');
}

/* Google external login button */
.google-external-login {
    background-color: #4285F4;
}

.google-external-login-icon {
    background-image: url('../icons/icons8-google-48.png');
}

/* Twitter external login button */
/* X (formerly Twitter) external login button */
.x-external-login {
    background-color: #000000; /* X brand black */
}

.x-external-login-icon {
    background-image: url('../icons/x-logo.svg');
}

/* LinkedIn external login button */
.linkedin-external-login {
    background-color: #0A66C2;
}

.linkedin-external-login-icon {
    background-image: url('../icons/icons8-linkedin-48.png');
}

/* Facebook external login button */
.facebook-external-login {
    background-color: #1877F2;
}

.facebook-external-login-icon {
    background-image: url('../icons/icons8-facebook-48.png');
}