/* 登录表单上方跑马灯维护提示 */
.maintenance-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, #004ff9, #56ccf2);
    position: relative;
    margin-bottom: 20px;
}

.maintenance-marquee-track {
    display: flex;
    width: max-content;
    animation: maintenance-scroll 18s linear infinite;
}

.maintenance-marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    white-space: nowrap;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.maintenance-marquee-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.maintenance-marquee-label {
    opacity: 0.9;
    margin-right: 8px;
}

@keyframes maintenance-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .maintenance-marquee-inner {
        font-size: 12px;
        padding: 6px 10px;
    }
}

.telegram-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.telegram-icon:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .telegram-icon {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}

/* 登录页自定义弹窗 - 与确认删除弹窗风格一致 */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    width: 100%;
    padding: 36px 32px;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal-box {
    transform: scale(1);
}

.modal-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(220, 53, 69, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon {
    font-size: 42px;
    color: #dc3545;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.modal-message {
    font-size: 16px;
    color: #444;
    line-height: 1.55;
    margin-bottom: 28px;
    white-space: pre-line;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.modal-btn {
    min-width: 120px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.modal-btn:active {
    transform: scale(0.98);
}

.modal-btn-primary {
    background: linear-gradient(135deg, #56ccf2, #004ff9);
    color: #fff;
}

.modal-btn-primary:hover {
    background: linear-gradient(135deg, #45b8e0, #003dd4);
}
