.sync-nav-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ccc;
    transition: color 0.2s;
}
.sync-nav-btn:hover { color: #fff; }
.sync-nav-btn .sync-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #555;
    transition: background 0.3s;
}
.sync-nav-btn.synced .sync-dot { background: #4caf50; }
.sync-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.sync-modal-bg.open { display: flex; }
.sync-modal {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 380px;
    position: relative;
    color: #fff;
}
.sync-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    transition: color 0.2s;
}
.sync-modal-close:hover { color: #fff; }
.sync-modal h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.sync-modal p.sync-subtitle { margin: 0 0 24px; font-size: 13px; color: #888; }
.sync-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid #2a2a2a;
}
.sync-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}
.sync-tab.active { color: #fff; border-bottom-color: #fff; }
.sync-panel { display: none; }
.sync-panel.active { display: block; }
.sync-field { margin-bottom: 14px; }
.sync-field label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sync-field input {
    width: 100%;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}
.sync-field input:focus { border-color: #555; }
.sync-btn {
    width: 100%;
    padding: 11px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s, opacity 0.2s;
}
.sync-btn:hover { background: #ddd; }
.sync-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sync-error { font-size: 13px; color: #e05c5c; margin-top: 10px; min-height: 18px; }
.sync-success { font-size: 13px; color: #4caf50; margin-top: 10px; min-height: 18px; }
.sync-profile { text-align: center; padding: 8px 0; }
.sync-profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    margin: 0 auto 14px;
    color: #fff;
}
.nav-item1 {
        position: relative;
        padding: 0.5rem 0.875rem;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-secondary);
        border-radius: 0.625rem;
        cursor: pointer;
        transition: color 0.25s ease, background 0.25s ease, transform 0.15s ease;
    }


 .nav-item1:active { transform: translateY(0); }

 .nav-item1.active {
        color: #fff;
        background: rgba(74,144,226,0.25);
    }


.sync-profile-name { font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.sync-profile-username { font-size: 13px; color: #666; margin-bottom: 24px; }
.sync-profile-actions { display: flex; flex-direction: column; gap: 10px; }
.sync-btn-outline {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #fff;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.sync-btn-outline:hover { border-color: #555; background: #222; }
.sync-btn-danger {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #e05c5c;
    border: 1px solid #3a2020;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.sync-btn-danger:hover { border-color: #e05c5c; background: #1e1212; }
.sync-divider { border: none; border-top: 1px solid #2a2a2a; margin: 20px 0; }
@media (max-width: 480px) {
    .sync-modal { margin: 16px; padding: 24px 20px; }
}