/**
 * easyVerein OIDC SSO - Frontend Styles
 *
 * @package EasyVerein_OIDC_SSO
 */

/* Button Wrapper - Alignment */
.ev-oidc-button-wrapper {
    display: flex;
    width: 100%;
}

.icon.ev-oidc-login {
    padding-left: 20px;
}

.icon.ev-oidc-login svg {
    padding-top: 3px;
    margin-top: 3px;
}

.ev-oidc-align-left {
    justify-content: flex-start;
}

.ev-oidc-align-center {
    justify-content: center;
}

.ev-oidc-align-right {
    justify-content: flex-end;
}

/* Login Button */
.ev-oidc-login-button, .ev-oidc-logout-button {
    display: flex;
    align-items: center;
    border: none;
    background-color: #0074C2;
    color: #fff;
    cursor: pointer;
    outline: none;
    padding: 17px 37px 17px 0;
    height: 52px;
    font-size: 18px !important;
    font-family: "HermesRegular", sans-serif !important;
    font-weight: 400 !important;
}

.ev-oidc-login-button .logo {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    margin-right: 37px !important;
    object-fit: cover;
}

.ev-oidc-login-button:hover {
    opacity: 0.9;
}

.ev-oidc-login-button .eV-bn-text {
    margin-right: 10px;
    font-size: 16px;
    font-weight: 100;
    text-decoration: none;
}

/* Logout Button */

.ev-oidc-logout-button .logo {
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    margin-right: 10px !important;
    object-fit: cover;
}

.ev-oidc-logout-button:hover {
    opacity: 0.9;
}

.ev-oidc-logout-button .eV-bn-text {
    margin-right: 10px;
    font-size: 16px;
    font-weight: 100;
    text-decoration: none;
}

/* User Info */
.ev-oidc-user-info {
    font-weight: 500;
}

/* Login form integration */
.login .ev-oidc-login-button {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ev-oidc-login-button,
    .ev-oidc-logout-button {
        padding: 10px 18px;
        font-size: 14px;
    }
}
