.orcid-login-alternative {
    margin-top: 28px;
    max-width: 520px;
}

.orcid-login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 18px;
    color: #666;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .02em;
}

.orcid-login-divider::before,
.orcid-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d7d7d7;
}

.orcid-login-button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 56px;
    padding: 12px 20px;
    border: 1px solid #8bb52b;
    border-radius: 6px;
    background: linear-gradient(180deg, #b7db57 0%, #a6ce39 100%);
    color: #1f1f1f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}

.orcid-login-button:hover,
.orcid-login-button:focus {
    background: linear-gradient(180deg, #aed84a 0%, #98c62e 100%);
    border-color: #7ea124;
    color: #111;
    text-decoration: none;
    box-shadow: 0 0 0 3px rgba(166, 206, 57, 0.18);
    transform: translateY(-1px);
}

.orcid-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 999px;
    overflow: hidden;
    background: transparent;
}

.orcid-login-icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

.orcid-login-button-text {
    display: inline-block;
    color: #1b1b1b;
    letter-spacing: .01em;
}

.orcid-login-help {
    margin-top: 10px;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

/* Official ORCID iD icon */
.orcid-login-button img.orcid-login-icon {
    display: block;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: contain;
    border: 0;
    background: transparent;
    box-shadow: none;
}

/* Final ORCID login button */
#orcid-login-alternative .orcid-login-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    width: 100% !important;
    min-height: 54px !important;
    padding: 10px 20px !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 1.5px solid #A6CE39 !important;
    border-radius: 6px !important;

    color: #222222 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    box-shadow: none !important;
}

#orcid-login-alternative .orcid-login-button:hover,
#orcid-login-alternative .orcid-login-button:focus {
    background: #f8fbeF !important;
    border-color: #8fb62f !important;
    color: #111111 !important;
    text-decoration: none !important;
}

#orcid-login-alternative .orcid-login-icon-svg {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px !important;
}

#orcid-login-alternative .orcid-login-button-text {
    color: #222222 !important;
    font-weight: 700 !important;
}

/* Compact ORCID Login */
#orcid-login-alternative {
    max-width: 520px !important;
}

#orcid-login-alternative .orcid-login-button {
    min-height: 48px !important;
    padding: 8px 16px !important;
    gap: 10px !important;
    justify-content: center !important;
}

#orcid-login-alternative .orcid-login-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    overflow: hidden !important;
    flex: 0 0 26px !important;
}

#orcid-login-alternative .orcid-login-icon-wrap svg {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    flex: 0 0 26px !important;
}

#orcid-login-alternative .orcid-login-button-text {
    font-size: 16px !important;
    line-height: 1.2 !important;
}
