/* ============================================================
   Custom Styles for lfrail.cn Login Provider Button
   This file is NOT part of Chevereto distribution.
   Safe from overwrites during updates.
   ============================================================ */

.login-provider-button--lfrail {
    background-color: #2563eb;
    color: #fff;
    border-radius: 4px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.login-provider-button--lfrail:hover,
.login-provider-button--lfrail:focus {
    background-color: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

.login-provider-button--lfrail .icon {
    font-size: 1.1em;
}

.login-provider-button--lfrail .icon::before {
    content: ""; /* 隐藏 Font Awesome 默认图标，改用下方背景图 */
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    background-image: url('../../system/favicon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* ============================================================
   Footer ICP / Copyright
   ============================================================ */
.footer-icp {
    padding: 12px 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: #7a7a7a;
    border-top: 1px solid #ededed;
    background-color: #ffffff;
}

.footer-icp a {
    color: #7a7a7a;
    text-decoration: none;
}

.footer-icp a:hover {
    color: #333;
    text-decoration: underline;
}

.footer-icp-sep {
    margin: 0 6px;
    color: #c0c0c0;
}

/* ============================================================
   Home Cover Footer (inside homepage hero image)
   ============================================================ */
.home-cover-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 100;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    pointer-events: none;
}

.home-cover-footer-inner {
    display: inline-block;
    max-width: calc(100% - 30px);
    padding: 6px 14px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.45);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

.home-cover-footer a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-cover-footer a:hover {
    color: #e0f0ff;
}

.home-cover-footer-sep {
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.7);
}

/* 适配小屏幕：允许换行 */
@media (max-width: 640px) {
    .home-cover-footer {
        bottom: 10px;
    }
    .home-cover-footer-inner {
        white-space: normal;
        padding: 5px 10px;
        font-size: 11px;
    }
}
